Example #1
0
 internal LALRStack(EGT loaded, bool trimReductions)
 {
     m_loaded = loaded;
     m_TrimReductions = trimReductions;
     m_CurrentLALR = m_loaded.InitialLRState;
     //=== Create stack top item. Only needs state
     m_Stack.Push(new TokenState(null, m_loaded.InitialLRState, -1));
 }
Example #2
0
 internal GroupTerminals(EGT loaded, Lexer lexer)
 {
     m_loaded = loaded;
     m_Lexer = lexer;
 }
Example #3
0
 internal Lexer(EGT loaded, TextReader source, Converter<char, ushort> charToShort)
 {
     m_loaded = loaded;
     m_source = source;
     m_charToShort = charToShort;
 }