#include <YCode.h>
Inheritance diagram for YCode:
|
|
Creates a new YCode element |
|
Cleans up |
|
evaluate YCode to YCPValue if debugger == 0 called for parse time evaluation (i.e. constant subexpression elimination) else called for runtime evaluation Reimplemented in YBlock, YError, YConst, YLocale, YDeclaration, YFunction, YEVariable, YEReference, YETerm, YECompare, YELocale, YEList, YEMap, YEPropagate, YEUnary, YEBinary, YETriple, YEIs, YEReturn, YEBracket, YEBuiltin, YEFunction, YStatement, YSExpression, YSBlock, YSReturn, YSTypedef, YSFunction, YSAssign, YSBracket, YSIf, YSWhile, YSRepeat, YSDo, YSTextdomain, YSInclude, YSImport, and YSFilename. |
|
returns true if the YCode represents a block |
|
returns true if the YCode represents a constant |
|
returns true if the YCode represents an error |
|
returns true if the YCode represents something we can reference to |
|
returns true if the YCode represents a statement Reimplemented in YBlock. |
|
Returns the YCode kind Reimplemented in YBlock. |
|
|
|
writes YCode to a stream see Bytecode for read Implemented in YBlock, YError, YConst, YLocale, YDeclaration, YFunction, YEVariable, YEReference, YETerm, YECompare, YELocale, YEList, YEMap, YEPropagate, YEUnary, YEBinary, YETriple, YEIs, YEReturn, YEBracket, YEBuiltin, YEFunction, YStatement, YSExpression, YSBlock, YSReturn, YSTypedef, YSFunction, YSAssign, YSBracket, YSIf, YSWhile, YSRepeat, YSDo, YSTextdomain, YSInclude, YSImport, and YSFilename. |
|
|
|
Returns an ASCII representation of the YCode. Reimplemented in YBlock, YError, YConst, YLocale, YDeclaration, YFunction, YEVariable, YEReference, YETerm, YECompare, YELocale, YEList, YEMap, YEPropagate, YEUnary, YEBinary, YETriple, YEIs, YEReturn, YEBracket, YEBuiltin, YEFunction, YStatement, YSExpression, YSBlock, YSReturn, YSTypedef, YSFunction, YSAssign, YSBracket, YSIf, YSWhile, YSRepeat, YSDo, YSTextdomain, YSInclude, YSImport, and YSFilename. |
|
return type (interesting mostly for function calls) Reimplemented in YBlock, YError, YConst, YLocale, YDeclaration, YFunction, YEVariable, YEReference, YETerm, YECompare, YELocale, YEList, YEMap, YEPropagate, YEUnary, YEBinary, YETriple, YEIs, YEReturn, YEBracket, YEBuiltin, YEFunction, YStatement, YSExpression, YSBlock, YSReturn, YSTypedef, YSFunction, YSAssign, YSBracket, YSIf, YSWhile, YSRepeat, YSDo, YSTextdomain, YSInclude, YSImport, and YSFilename. |
|
Returns true, if this instance is valid. |
|
Reimplemented in YBlock. |
|
|