|
FAUST compiler
0.9.9.6b8
|

Go to the source code of this file.
Functions | |
| Tree | pathRoot () |
| bool | isPathRoot (Tree t) |
| Tree | pathParent () |
| bool | isPathParent (Tree t) |
| Tree | pathCurrent () |
| bool | isPathCurrent (Tree t) |
| static Tree | encodeName (char g, const string &name) |
| analyze name for "H:name" | "V:name" etc More... | |
| static Tree | label2path (const char *label) |
| Analyzes a label and converts it as a path. More... | |
| static Tree | concatPath (Tree relpath, Tree abspath) |
| Concatenate the relative path to the absolute path Note that the relpath is top-down while the abspath is bottom-up. More... | |
| static Tree | normalizeLabel (Tree label, Tree path) |
| Tree | normalizePath (Tree path) |
Variables | |
| Sym | PATHROOT = symbol ("/") |
Grammar for labels with pathnames<label> = <name> | <path> <name> <name> = [^/]+ <path> = <apath> | <rpath> <apath> = '/' | '/' <rpath> <rpath> = (<gname> '/')+ <gname> = ".." | "." | <gtype> <name> <gtype> = "h:" | "H:" | "v:" | V:" | "t:" | "T:" More... | |
| Sym | PATHPARENT = symbol ("..") |
| Sym | PATHCURRENT = symbol (".") |
Concatenate the relative path to the absolute path Note that the relpath is top-down while the abspath is bottom-up.
Definition at line 95 of file labels.cpp.
References cons(), hd(), isList(), isNil(), isPathCurrent(), isPathParent(), isPathRoot(), nil, and tl().
Referenced by normalizeLabel().


|
static |
analyze name for "H:name" | "V:name" etc
Definition at line 37 of file labels.cpp.
References cons(), and tree().
Referenced by label2path().


| bool isPathCurrent | ( | Tree | t | ) |
Definition at line 29 of file labels.cpp.
References isTree().
Referenced by concatPath().


| bool isPathParent | ( | Tree | t | ) |
Definition at line 25 of file labels.cpp.
References isTree().
Referenced by concatPath().


| bool isPathRoot | ( | Tree | t | ) |
Definition at line 21 of file labels.cpp.
References isTree().
Referenced by concatPath().


|
static |
Analyzes a label and converts it as a path.
Definition at line 58 of file labels.cpp.
References cons(), encodeName(), nil, pathParent(), pathRoot(), and tree().
Referenced by normalizeLabel().


Definition at line 120 of file labels.cpp.
References concatPath(), cons(), isList(), isSym(), label2path(), name(), and CTree::node().
Referenced by normalizePath().


Definition at line 133 of file labels.cpp.
References hd(), isNil(), normalizeLabel(), normalizePath(), and tl().
Referenced by normalizePath(), and realPropagate().


| Tree pathCurrent | ( | ) |
Definition at line 28 of file labels.cpp.
References tree().

| Tree pathParent | ( | ) |
Definition at line 24 of file labels.cpp.
References tree().
Referenced by label2path().


| Tree pathRoot | ( | ) |
Definition at line 20 of file labels.cpp.
References tree().
Referenced by label2path().


Definition at line 27 of file labels.cpp.
Definition at line 23 of file labels.cpp.
Definition at line 19 of file labels.cpp.
1.8.7