Esempio n. 1
0
 private static bool Member_Refz()
 {
     if (Tokens.GetToken().lexeme == ".")
     {
         Tokens.NextToken();
         if (Tokens.GetToken().type != Token.Type.Identifier)
         {
             SyntaxError(Tokens.GetToken(), "Identifier");
         }
         if (semanticPass)
         {
             SemanticActions.iPush(Tokens.GetToken(), scope);
         }
         Tokens.NextToken();
         Fn_Arr_Member();
         if (semanticPass)
         {
             SemanticActions.rExist();
         }
         Member_Refz();
         return(true);
     }
     return(false);
 }