#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, YConst, YLocale, YDeclaration, YFunction, YEVariable, YEReference, YETerm, YECompare, YELocale, YEList, YEMap, YEPropagate, YEUnary, YEBinary, YETriple, YEIs, YEReturn, YEBracket, YEBuiltin, YEFunction, YEFunctionPointer, YStatement, YSExpression, YSBlock, YSReturn, YSTypedef, YSFunction, YSAssign, YSBracket, YSIf, YSWhile, YSRepeat, YSDo, YSTextdomain, YSInclude, YSImport, YSFilename, and YSSwitch. |
|
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, YConst, YLocale, YDeclaration, YFunction, YEVariable, YEReference, YETerm, YECompare, YELocale, YEList, YEMap, YEPropagate, YEUnary, YEBinary, YETriple, YEIs, YEReturn, YEBracket, YEBuiltin, YECall, YStatement, YSExpression, YSBlock, YSReturn, YSTypedef, YSFunction, YSAssign, YSBracket, YSIf, YSWhile, YSRepeat, YSDo, YSTextdomain, YSInclude, YSImport, YSFilename, and YSSwitch. |
|
|
|
Returns an ASCII representation of the YCode. Reimplemented in YBlock, YConst, YLocale, YDeclaration, YFunction, YEVariable, YEReference, YETerm, YECompare, YELocale, YEList, YEMap, YEPropagate, YEUnary, YEBinary, YETriple, YEIs, YEReturn, YEBracket, YEBuiltin, YECall, YStatement, YSExpression, YSBlock, YSReturn, YSTypedef, YSFunction, YSAssign, YSBracket, YSIf, YSWhile, YSRepeat, YSDo, YSTextdomain, YSInclude, YSImport, YSFilename, and YSSwitch. |
|
return type (interesting mostly for function calls) Reimplemented in YBlock, YConst, YLocale, YDeclaration, YFunction, YEVariable, YEReference, YETerm, YECompare, YELocale, YEList, YEMap, YEPropagate, YEUnary, YEBinary, YETriple, YEIs, YEReturn, YEBracket, YEBuiltin, YECall, YStatement, YSExpression, YSBlock, YSReturn, YSTypedef, YSFunction, YSAssign, YSBracket, YSIf, YSWhile, YSRepeat, YSDo, YSTextdomain, YSInclude, YSImport, YSFilename, and YSSwitch. |
|
Returns true, if this instance is valid. |
|
Reimplemented in YBlock. |
|
|