Пример #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));
 }
Пример #2
0
 internal GroupTerminals(EGT loaded, Lexer lexer)
 {
     m_loaded = loaded;
     m_Lexer = lexer;
 }
Пример #3
0
 internal Lexer(EGT loaded, TextReader source, Converter<char, ushort> charToShort)
 {
     m_loaded = loaded;
     m_source = source;
     m_charToShort = charToShort;
 }