java.lang.Object
technology.sola.script.parser.Parser

@NullMarked public class Parser extends Object
Parser takes a list of Tokens and parses them into Stmts that can be later interpreted.
  • Constructor Details

    • Parser

      public Parser(List<Token> tokens)
      Creates an instance for a desired list of Tokens.
      Parameters:
      tokens - the Tokens for the program
  • Method Details