Enums

Details

class Template.Error(value)

Bases: GObject.GEnum

classmethod quark()
Return type:int
INVALID_STATE = 1
SYMBOL_REDEFINED = 10
NOT_AN_OBJECT = 11
NULL_POINTER = 12
NO_SUCH_PROPERTY = 13
GI_FAILURE = 14
RUNTIME_ERROR = 15
NOT_IMPLEMENTED = 16
NOT_A_VALUE = 17
NOT_A_FUNCTION = 18
TEMPLATE_NOT_FOUND = 2
CIRCULAR_INCLUDE = 3
SYNTAX_ERROR = 4
LEXER_FAILURE = 5
TYPE_MISMATCH = 6
INVALID_OP_CODE = 7
DIVIDE_BY_ZERO = 8
MISSING_SYMBOL = 9
class Template.ExprBuiltin(value)

Bases: GObject.GEnum

ABS = 0
CEIL = 1
FLOOR = 2
HEX = 3
LOG = 4
PRINT = 5
REPR = 6
SQRT = 7
TYPEOF = 8
class Template.ExprType(value)

Bases: GObject.GEnum

ADD = 1
NE = 10
EQ = 11
GTE = 12
LTE = 13
UNARY_MINUS = 14
STMT_LIST = 15
IF = 16
WHILE = 17
SYMBOL_REF = 18
SYMBOL_ASSIGN = 19
SUB = 2
FN_CALL = 20
USER_FN_CALL = 21
GETATTR = 22
SETATTR = 23
GI_CALL = 24
REQUIRE = 25
AND = 26
OR = 27
INVERT_BOOLEAN = 28
MUL = 3
DIV = 4
BOOLEAN = 5
NUMBER = 6
STRING = 7
GT = 8
LT = 9
class Template.SymbolType(value)

Bases: GObject.GEnum

EXPR = 0
VALUE = 1