qscript.compiler.astreadable

Used for debugging the astgen. Contains functions to generate a readable string respresentation of AST nodes

Members

Functions

toJSON
JSONValue toJSON(ScriptNode node)

Creates JSONValue for ScriptNode

toJSON
JSONValue toJSON(FunctionNode node)

Creates JSONValue for FunctionNode

toJSON
JSONValue toJSON(StructNode node)

Creates JSONValue for StructNode

toJSON
JSONValue toJSON(EnumNode node)

Creates JSONValue for EnumNode

toJSON
JSONValue toJSON(BlockNode node)

Creates JSONValue for BlockNode

toJSON
JSONValue toJSON(StatementNode node)

Creates JSONValue for StatementNode

toJSON
JSONValue toJSON(AssignmentNode node)

Creates JSONValue for AssignmentNode

toJSON
JSONValue toJSON(IfNode node)

Creates JSONValue for IfNode

toJSON
JSONValue toJSON(WhileNode node)

Creates JSONValue for WhileNode

toJSON
JSONValue toJSON(DoWhileNode node)

Creates JSONValue for DoWhileNode

toJSON
JSONValue toJSON(ForNode node)

Creates JSONValue for ForNode

toJSON
JSONValue toJSON(FunctionCallNode node)

Creates JSONValue for FunctionCallNode

toJSON
JSONValue toJSON(VarDeclareNode node)

Creates JSONValue for VarDeclareNode

toJSON
JSONValue toJSON(ReturnNode node)

Creates JSONValue for ReturnNode

toJSON
JSONValue toJSON(CodeNode node)

Creates JSONValue for CodeNode

toJSON
JSONValue toJSON(VariableNode node)

Creates JSONValue for VariableNode

toJSON
JSONValue toJSON(ArrayNode node)

Creates JSONValue for ArrayNode

toJSON
JSONValue toJSON(LiteralNode node)

Creates JSONValue for LiteralNode

toJSON
JSONValue toJSON(NegativeValueNode node)

Creates JSONValue for NegativeValue

toJSON
JSONValue toJSON(MemberSelectorNode node)

Creates JSONValue for MemberSelectorNode

toJSON
JSONValue toJSON(OperatorNode node)

Creates JSONValue for OperatorNode

toJSON
JSONValue toJSON(SOperatorNode node)

Creates JSONValue for SOperatorNode

toJSON
JSONValue toJSON(ReadElement node)

Creates JSONValue for ReadElement

Meta