HyCodeYourTale
classpublicPriority 3

Parser

com.hypixel.hytale.server.npc.util.expression.compile.Parser

2

Methods

2

Public Methods

2

Fields

1

Constructors

Constants

StringEXPECTED_BINARY_OPERATOR= "Expected binary operator"
StringEXPECTED_UNARY_OPERATOR= "Expected unary operator"
StringILLEGAL_USE_OF_ARGUMENT_LIST= "Illegal use of argument list"
StringMISMATCHED_CLOSING_BRACKET= "Mismatched closing bracket"
StringMISSING_CLOSING_BRACKET= "Missing closing bracket"
StringNOT_ENOUGH_OPERANDS= "Not enough operands"
StringTOO_MANY_OPERANDS= "Too many operands"

Constructors

public
Parser(Lexer<Token> lexer)

Methods

Public Methods (2)

public
void parse(String expression, Parser.ParsedTokenConsumer tokenConsumer)

throws ParseException

public
Parser.ParsedToken peekOperator()
@Nullable

Fields

Private/Package Fields (2)

privateLexerContext<Token> context
privateLexer<Token> lexer