UNPKG

calcium-lang

Version:
96 lines 3.28 kB
export var Statement; (function (Statement) { Statement[Statement["Indent"] = 0] = "Indent"; Statement[Statement["Options"] = 1] = "Options"; Statement[Statement["Keyword"] = 2] = "Keyword"; })(Statement || (Statement = {})); export var Assign; (function (Assign) { Assign[Assign["Lhs"] = 3] = "Lhs"; Assign[Assign["Rhs"] = 4] = "Rhs"; })(Assign || (Assign = {})); export var Class; (function (Class) { Class[Class["Name"] = 3] = "Name"; Class[Class["SuperclassName"] = 4] = "SuperclassName"; })(Class || (Class = {})); export var Comment; (function (Comment) { Comment[Comment["Text"] = 3] = "Text"; })(Comment || (Comment = {})); export var Conditional; (function (Conditional) { Conditional[Conditional["Expr"] = 3] = "Expr"; })(Conditional || (Conditional = {})); export var Except; (function (Except) { Except[Except["TypeName"] = 3] = "TypeName"; Except[Except["ObjName"] = 4] = "ObjName"; })(Except || (Except = {})); export var ExprStmt; (function (ExprStmt) { ExprStmt[ExprStmt["Value"] = 3] = "Value"; })(ExprStmt || (ExprStmt = {})); export var For; (function (For) { For[For["Variables"] = 3] = "Variables"; For[For["Iterable"] = 4] = "Iterable"; })(For || (For = {})); export var FuncDef; (function (FuncDef) { FuncDef[FuncDef["Name"] = 3] = "Name"; FuncDef[FuncDef["Parameters"] = 4] = "Parameters"; })(FuncDef || (FuncDef = {})); export var Import; (function (Import) { Import[Import["ModuleName"] = 3] = "ModuleName"; })(Import || (Import = {})); export var Raise; (function (Raise) { Raise[Raise["Exception"] = 3] = "Exception"; Raise[Raise["Args"] = 4] = "Args"; })(Raise || (Raise = {})); export var Return; (function (Return) { Return[Return["Expr"] = 3] = "Expr"; })(Return || (Return = {})); export var Expression; (function (Expression) { Expression[Expression["Keyword"] = 0] = "Keyword"; })(Expression || (Expression = {})); export var Attribute; (function (Attribute) { Attribute[Attribute["VarName"] = 1] = "VarName"; Attribute[Attribute["FirstAttributeName"] = 2] = "FirstAttributeName"; })(Attribute || (Attribute = {})); export var BinaryOperator; (function (BinaryOperator) { BinaryOperator[BinaryOperator["Left"] = 1] = "Left"; BinaryOperator[BinaryOperator["Right"] = 2] = "Right"; })(BinaryOperator || (BinaryOperator = {})); export var Call; (function (Call) { Call[Call["FuncRef"] = 1] = "FuncRef"; Call[Call["Args"] = 2] = "Args"; })(Call || (Call = {})); export var KwArg; (function (KwArg) { KwArg[KwArg["Keyword"] = 1] = "Keyword"; KwArg[KwArg["Value"] = 2] = "Value"; })(KwArg || (KwArg = {})); export var Subscript; (function (Subscript) { Subscript[Subscript["ReferredObj"] = 1] = "ReferredObj"; Subscript[Subscript["IndexExpr"] = 2] = "IndexExpr"; Subscript[Subscript["SliceStart"] = 2] = "SliceStart"; Subscript[Subscript["SliceEnd"] = 3] = "SliceEnd"; })(Subscript || (Subscript = {})); export var UnaryOperator; (function (UnaryOperator) { UnaryOperator[UnaryOperator["Operand"] = 1] = "Operand"; })(UnaryOperator || (UnaryOperator = {})); export var Variable; (function (Variable) { Variable[Variable["Name"] = 1] = "Name"; })(Variable || (Variable = {})); //# sourceMappingURL=indexes.js.map