예제 #1
0
 public ReduceContext(TypeTable typeTable,
                      ITerminals terminals,
                      ActionExpr action,
                      INoAction noAction,
                      int id)
 {
     this.typeTable = typeTable;
     this.terminals = terminals;
     this.action    = action;
     this.noAction  = noAction;
     Id             = id;
 }
예제 #2
0
        public override void WriteToStream(IndentStream stream)
        {
            stream.Write("ALTER DATABASE ");
            DatabaseName.WriteToStream(stream);

            stream.Write(" ");
            ActionExpr.WriteToStream(stream);

            if (IsSemicolon)
            {
                stream.Write(" ;");
            }
        }