Exemple #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);
 }
Exemple #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();
 }