Exemplo n.º 1
0
        public virtual bool VisitCaseStmt(CaseStmt stmt)
        {
            if (!VisitSwitchCase(stmt))
            {
                return(false);
            }

            return(true);
        }
Exemplo n.º 2
0
        void ParseCase(AstNode parent)
        {
            Advance(); //past name
            CaseStmt def = new CaseStmt(CurrentToken);

            //
            PushNode(def);
            ExprSeq expr = ParseExprSeq();

            PopNode();

            def.ExprSeq = expr;
            parent.AddChild(def);

            ParseRhs(def);
        }
Exemplo n.º 3
0
 public bool VisitCaseStmt(CaseStmt stmt)
 {
     throw new NotImplementedException();
 }