예제 #1
0
 public SSLexLexeme(SSLexConsumer q_consumer, SSLexFinalState q_final, SSLexMark q_mark)
 {
     this.m_token  = q_final.token();
     this.m_line   = q_consumer.line();
     this.m_offset = q_consumer.offset();
     this.m_index  = q_consumer.index();
     this.m_lexeme = q_consumer.lexemeBuffer(q_mark);
     this.m_length = q_consumer.lexemeLength(q_mark);
 }
예제 #2
0
 public SSLexLexeme(SSLexConsumer q_consumer)
 {
     this.m_token  = 0;
     this.m_line   = q_consumer.line();
     this.m_offset = q_consumer.offset();
     this.m_index  = q_consumer.index();
     this.m_length = q_consumer.lexemeLength();
     this.m_lexeme = q_consumer.lexemeBuffer();
 }
예제 #3
0
파일: SSLex.cs 프로젝트: woodymax/SSASDiag
 public SSLex(SSLexTable q_table, SSLexConsumer q_consumer)
 {
     this.m_table       = q_table;
     this.m_consumer    = q_consumer;
     this.m_currentChar = new char[1];
 }