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
SIN = 10
TAN = 11
COS = 12
PRINTERR = 13
CAST_BYTE = 14
CAST_CHAR = 15
CAST_I32 = 16
CAST_U32 = 17
CAST_I64 = 18
CAST_U64 = 19
FLOOR = 2
CAST_FLOAT = 20
CAST_DOUBLE = 21
CAST_BOOL = 22
HEX = 3
LOG = 4
PRINT = 5
REPR = 6
SQRT = 7
TYPEOF = 8
ASSERT = 9
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
ANON_FN_CALL = 21
USER_FN_CALL = 22
GETATTR = 23
SETATTR = 24
GI_CALL = 25
REQUIRE = 26
AND = 27
OR = 28
INVERT_BOOLEAN = 29
MUL = 3
ARGS = 30
FUNC = 31
NOP = 32
NULL = 33
DIV = 4
BOOLEAN = 5
NUMBER = 6
STRING = 7
GT = 8
LT = 9
class Template.SymbolType(value)

Bases: GObject.GEnum

EXPR = 0
VALUE = 1