void MoreLexicalActions() { jjimageLen += (lengthOfMatch = jjmatchedPos + 1); switch(jjmatchedKind) { case 5 : image.append(input_stream.GetSuffix(jjimageLen)); jjimageLen = 0; commentNestingDepth = 1 ; break; case 6 : image.append(input_stream.GetSuffix(jjimageLen)); jjimageLen = 0; commentNestingDepth += 1 ; break; default : break; } } private void jjCheckNAdd(int state)
void MoreLexicalActions() { jjimageLen += (lengthOfMatch = jjmatchedPos + 1); switch(jjmatchedKind) { case 5 : image.append(input_stream.GetSuffix(jjimageLen)); jjimageLen = 0; commentNestingDepth = 1 ; break; case 6 : image.append(input_stream.GetSuffix(jjimageLen)); jjimageLen = 0; commentNestingDepth += 1 ; break; default : break; } } private void jjCheckNAdd(int state)
void MoreLexicalActions() { jjimageLen += (lengthOfMatch = jjmatchedPos + 1); switch(jjmatchedKind) { case 5 : image.append(input_stream.GetSuffix(jjimageLen)); jjimageLen = 0; commentNestingDepth = 1 ; break; case 6 : image.append(input_stream.GetSuffix(jjimageLen)); jjimageLen = 0; commentNestingDepth += 1 ; break; default : break; } } private void jjCheckNAdd(int state)
void SkipLexicalActions(Token matchedToken) { switch(jjmatchedKind) { case 7 : image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))); commentNestingDepth -= 1; SwitchTo( commentNestingDepth==0 ? DEFAULT : IN_MULTI_LINE_COMMENT ) ; break; default : break; } } void MoreLexicalActions()
void SkipLexicalActions(Token matchedToken) { switch(jjmatchedKind) { case 7 : image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))); commentNestingDepth -= 1; SwitchTo( commentNestingDepth==0 ? DEFAULT : IN_MULTI_LINE_COMMENT ) ; break; default : break; } } void MoreLexicalActions()
void SkipLexicalActions(Token matchedToken) { switch(jjmatchedKind) { case 7 : image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))); commentNestingDepth -= 1; SwitchTo( commentNestingDepth==0 ? DEFAULT : IN_MULTI_LINE_COMMENT ) ; break; default : break; } } void MoreLexicalActions()