Yogstation 13 - Modules - TypesVar Details - Proc Details

/datum/n_Parser/nS_Parser

Vars

expectingA variable which keeps track of whether an operator or value is expected. It should be either or . See <ParseExpression()> for more information.

Procs

GetExpressionTakes a token expected to represent a value and returns an node.
ParseFunctionExpressionParses a function call inside of an expression. (See also <ParseExpression()>)
PrecedenceCompares two operators, decides which is higher in the order of operations, and returns or .

Var Details

expecting

A variable which keeps track of whether an operator or value is expected. It should be either or . See <ParseExpression()> for more information.

Proc Details

GetExpression

Takes a token expected to represent a value and returns an node.

ParseFunctionExpression

Parses a function call inside of an expression. (See also <ParseExpression()>)

Precedence

Compares two operators, decides which is higher in the order of operations, and returns or .