Beispiel #1
0
 public void StartParsing()
 {
     tokenList = PopulateTokenList();
     ProgramParse();
     FinishedParsing = true;
     Console.WriteLine("Ready");
     VarTable.Print();
     PkbReference.PrintAst();
     //Pkb.CreateControlFlowGraph();
 }
Beispiel #2
0
 public Pkb()
 {
     AbstractSyntaxTree = new AbstractSyntaxTree();
     ControlFlowGraph   = new ControlFlowGraph();
     VarTable           = new VarTable();
 }