public Contextualiser(LetCommand root) { _compilerUtils = CompilerUtils.getInstance(); this.root = root; declaList = new LinkedList <LinkedList <DeclarationCommand> >(); table = new Dictionary <string, string>(); }
public Parser(LinkedList <Line> code) { _compilerUtils = CompilerUtils.getInstance(); Scanner scan = new Scanner(code); TokenList = scan.getTokens(); parse(); }