Package ortus.boxlang.compiler.parser
Class ParsingResult
java.lang.Object
ortus.boxlang.compiler.parser.ParsingResult
The results returned when parsing code.
-
Constructor Summary
ConstructorsConstructorDescriptionParsingResult
(BoxNode root, List<Issue> issues) General constructor.ParsingResult
(BoxNode root, List<Issue> issues, List<BoxComment> comments) -
Method Summary
-
Constructor Details
-
ParsingResult
General constructor.- Parameters:
root
- the AST, or null if it wasn't created.issues
- a list of encountered parsing problems
-
ParsingResult
-
-
Method Details
-
getRoot
-
getIssues
-
getComments
-
isCorrect
public boolean isCorrect()Returns if parsing was successful- Returns:
- true if no errors of any kind were encountered.
-