示例#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
 public SSLex(SSLexTable q_table, SSLexConsumer q_consumer)
 {
     this.m_table       = q_table;
     this.m_consumer    = q_consumer;
     this.m_currentChar = new char[1];
 }