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