Esempio n. 1
0
    public Parser(InputElementEnumerator yylex)
    {
        this.yylex = yylex;

        yylex.MoveNext();

        wl = new System.Collections.Queue();
        wl.Enqueue(new startState());
        wl_next = new System.Collections.Queue();
    }
Esempio n. 2
0
 public IfEnumerator(System.Collections.Hashtable table, InputElementEnumerator iee, bool emitting, bool conditional) : base(iee)
 {
     this.table    = table;
     this.emitting = emitting;
     if (emitting)
     {
         this.conditional = conditional;
         this.condHistory = conditional;
     }
     else
     {
         this.conditional = false;
         this.condHistory = true;
     }
 }
Esempio n. 3
0
 public EchoInputEnumerator(InputElementEnumerator iee, string prefix)
 {
     this.iee    = iee;
     this.prefix = prefix;
 }
Esempio n. 4
0
 public EchoInputEnumerator(InputElementEnumerator iee)
 {
     this.iee = iee;
     prefix   = "";
 }
Esempio n. 5
0
 public SkipWhiteEnumerator(InputElementEnumerator iee) : base(iee)
 {
 }
Esempio n. 6
0
 public InputFilterEnumerator(InputElementEnumerator iee)
 {
     this.iee = iee;
 }
Esempio n. 7
0
 public RegionEnumerator(System.Collections.Hashtable table, InputElementEnumerator iee, bool emitting) : base(iee)
 {
     this.table    = table;
     this.emitting = emitting;
 }
Esempio n. 8
0
 public PreprocessorEnumerator(InputElementEnumerator iee, bool Verbose) : this(iee) {
     this.Verbose = Verbose;
 }
Esempio n. 9
0
 public PreprocessorEnumerator(InputElementEnumerator iee) : base(iee)
 {
     this.table    = new System.Collections.Hashtable();
     this.emitting = true;
 }
Esempio n. 10
0
 public AbstractPreprocessorEnumerator(InputElementEnumerator iee)
 {
     this.iee  = iee;
     linedelta = 0;
 }