Class Parser.Result

java.lang.Object
meteordevelopment.starscript.compiler.Parser.Result
Enclosing class:
Parser

public static class Parser.Result extends Object
A class that holds the parsed AST (abstract syntax tree) and any errors that could have been found.
  • Field Details

  • Constructor Details

    • Result

      public Result()
  • Method Details

    • hasErrors

      public boolean hasErrors()
      Helper method that returns true if there was 1 or more errors.