Beispiel #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();
    }
Beispiel #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;
     }
 }
Beispiel #3
0
 public EchoInputEnumerator(InputElementEnumerator iee, string prefix)
 {
     this.iee    = iee;
     this.prefix = prefix;
 }
Beispiel #4
0
 public EchoInputEnumerator(InputElementEnumerator iee)
 {
     this.iee = iee;
     prefix   = "";
 }
Beispiel #5
0
 public SkipWhiteEnumerator(InputElementEnumerator iee) : base(iee)
 {
 }
Beispiel #6
0
 public InputFilterEnumerator(InputElementEnumerator iee)
 {
     this.iee = iee;
 }
Beispiel #7
0
 public RegionEnumerator(System.Collections.Hashtable table, InputElementEnumerator iee, bool emitting) : base(iee)
 {
     this.table    = table;
     this.emitting = emitting;
 }
Beispiel #8
0
 public PreprocessorEnumerator(InputElementEnumerator iee, bool Verbose) : this(iee) {
     this.Verbose = Verbose;
 }
Beispiel #9
0
 public PreprocessorEnumerator(InputElementEnumerator iee) : base(iee)
 {
     this.table    = new System.Collections.Hashtable();
     this.emitting = true;
 }
Beispiel #10
0
 public AbstractPreprocessorEnumerator(InputElementEnumerator iee)
 {
     this.iee  = iee;
     linedelta = 0;
 }