예제 #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
파일: Lexer.cs 프로젝트: cwellsx/GOLDEngine
 internal Lexer(EGT loaded, TextReader source, Converter<char, ushort> charToShort)
 {
     m_loaded = loaded;
     m_source = source;
     m_charToShort = charToShort;
 }