Beispiel #1
0
 private void Identifier(int currentLevel)
 {
     if (Identifiers.ContainsValue(LexemString[currentLexem].code))
     {
         Tree.Add(new Node(LexemString[currentLexem].value, currentLevel, LexemString[currentLexem++]));
     }
     else
     {
         RiseErrorOrAddNodeToTree(currentLevel, "IDENTIFIER");
     }
     Tree = Tree.Parent;
 }