Class Parser.Result
java.lang.Object
meteordevelopment.starscript.compiler.Parser.Result
- Enclosing class:
- Parser
A class that holds the parsed AST (abstract syntax tree) and any errors that could have been found.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanHelper method that returns true if there was 1 or more errors.
-
Field Details
-
exprs
-
errors
-
-
Constructor Details
-
Result
public Result()
-
-
Method Details
-
hasErrors
public boolean hasErrors()Helper method that returns true if there was 1 or more errors.
-