Beispiel #1
0
        public override T Accept <T>(ASTBaseVisitor <T> visitor)
        {
            MINICASTBaseVisitor <T> visitor_ = visitor as MINICASTBaseVisitor <T>;

            if (visitor_ != null)
            {
                visitor_.VisitIDENTIFIER(node: this);
            }

            return(default(T));
        }
Beispiel #2
0
        public override T Accept <T>(ASTBaseVisitor <T> visitor)
        {
            MINICASTBaseVisitor <T> visitor_ = visitor as MINICASTBaseVisitor <T>;

            if (visitor_ != null)
            {
                visitor_.VisitCompoundStatement(node: this);
            }

            return(default(T));
        }