gen/com/tang/intellij/lua/lexer/_LuaStringLexer.java
/**
   * Resumes scanning until the next regular expression is matched,
   * the end of input is encountered or an I/O-Error occurs.
   *
   * @return      the next token
   * @exception   java.io.IOException  if any I/O-Error occurs
   */
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.

@return      the next token
@exception   java.io.IOException  if any I/O-Error occurs
Resumes scanning until the next regular expression is matched the end of input is encountered or an I / O - Error occurs . @return the next token @exception java . io . IOException if any I / O - Error occurs
public IElementType advance() throws java.io.IOException {
    int zzInput;
    int zzAction;
    int zzCurrentPosL;
    int zzMarkedPosL;
    int zzEndReadL = zzEndRead;
    CharSequence zzBufferL = zzBuffer;
    int [] zzTransL = ZZ_TRANS;
    int [] zzRowMapL = ZZ_ROWMAP;
    int [] zzAttrL = ZZ_ATTRIBUTE;
    while (true) {
      zzMarkedPosL = zzMarkedPos;
      zzAction = -1;
      zzCurrentPosL = zzCurrentPos = zzStartRead = zzMarkedPosL;
      zzState = ZZ_LEXSTATE[zzLexicalState];
      int zzAttributes = zzAttrL[zzState];
      if ( (zzAttributes & 1) == 1 ) {
        zzAction = zzState;
      }
      zzForAction: {
        while (true) {
          if (zzCurrentPosL < zzEndReadL) {
            zzInput = Character.codePointAt(zzBufferL, zzCurrentPosL/*, zzEndReadL*/);
            zzCurrentPosL += Character.charCount(zzInput);
          }
          else if (zzAtEOF) {
            zzInput = YYEOF;
            break zzForAction;
          }
          else {
            zzCurrentPos  = zzCurrentPosL;
            zzMarkedPos   = zzMarkedPosL;
            boolean eof = zzRefill();
            zzCurrentPosL  = zzCurrentPos;
            zzMarkedPosL   = zzMarkedPos;
            zzBufferL      = zzBuffer;
            zzEndReadL     = zzEndRead;
            if (eof) {
              zzInput = YYEOF;
              break zzForAction;
            }
            else {
              zzInput = Character.codePointAt(zzBufferL, zzCurrentPosL/*, zzEndReadL*/);
              zzCurrentPosL += Character.charCount(zzInput);
            }
          }
          int zzNext = zzTransL[ zzRowMapL[zzState] + ZZ_CMAP(zzInput) ];
          if (zzNext == -1) break zzForAction;
          zzState = zzNext;
          zzAttributes = zzAttrL[zzState];
          if ( (zzAttributes & 1) == 1 ) {
            zzAction = zzState;
            zzMarkedPosL = zzCurrentPosL;
            if ( (zzAttributes & 8) == 8 ) break zzForAction;
          }
        }
      }
      zzMarkedPos = zzMarkedPosL;
      if (zzInput == YYEOF && zzStartRead == zzCurrentPos) {
        zzAtEOF = true;
        zzDoEOF();
        return null;
      }
      else {
        switch (zzAction < 0 ? zzAction : ZZ_ACTION[zzAction]) {
          case 1: 
            { return STRING;
            } 
          case 7: break;
          case 2: 
            { yybegin(STRING_CONTENT); return STRING;
            } 
          case 8: break;
          case 3: 
            { return INVALID_NEXT_LINE;
            } 
          case 9: break;
          case 4: 
            { yybegin(BLOCK_STRING_CONTENT); return STRING;
            } 
          case 10: break;
          case 5: 
            { return VALID_STRING_ESCAPE_TOKEN;
            } 
          case 11: break;
          case 6: 
            { return NEXT_LINE;
            } 
          case 12: break;
          default:
            zzScanError(ZZ_NO_MATCH);
          }
      }
    }
  }
public IElementType advance ( ) throws java . io . IOException { int zzInput ; int zzAction ; int zzCurrentPosL ; int zzMarkedPosL ; int zzEndReadL = zzEndRead ; CharSequence zzBufferL = zzBuffer ; int [ ] zzTransL = ZZ_TRANS ; int [ ] zzRowMapL = ZZ_ROWMAP ; int [ ] zzAttrL = ZZ_ATTRIBUTE ; while ( true ) { zzMarkedPosL = zzMarkedPos ; zzAction = - 1 ; zzCurrentPosL = zzCurrentPos = zzStartRead = zzMarkedPosL ; zzState = ZZ_LEXSTATE [ zzLexicalState ] ; int zzAttributes = zzAttrL [ zzState ] ; if ( ( zzAttributes & 1 ) == 1 ) { zzAction = zzState ; } zzForAction : { while ( true ) { if ( zzCurrentPosL < zzEndReadL ) { zzInput = Character . codePointAt ( zzBufferL , zzCurrentPosL /*, zzEndReadL*/ ) ; zzCurrentPosL += Character . charCount ( zzInput ) ; } else if ( zzAtEOF ) { zzInput = YYEOF ; break zzForAction ; } else { zzCurrentPos = zzCurrentPosL ; zzMarkedPos = zzMarkedPosL ; boolean eof = zzRefill ( ) ; zzCurrentPosL = zzCurrentPos ; zzMarkedPosL = zzMarkedPos ; zzBufferL = zzBuffer ; zzEndReadL = zzEndRead ; if ( eof ) { zzInput = YYEOF ; break zzForAction ; } else { zzInput = Character . codePointAt ( zzBufferL , zzCurrentPosL /*, zzEndReadL*/ ) ; zzCurrentPosL += Character . charCount ( zzInput ) ; } } int zzNext = zzTransL [ zzRowMapL [ zzState ] + ZZ_CMAP ( zzInput ) ] ; if ( zzNext == - 1 ) break zzForAction ; zzState = zzNext ; zzAttributes = zzAttrL [ zzState ] ; if ( ( zzAttributes & 1 ) == 1 ) { zzAction = zzState ; zzMarkedPosL = zzCurrentPosL ; if ( ( zzAttributes & 8 ) == 8 ) break zzForAction ; } } } zzMarkedPos = zzMarkedPosL ; if ( zzInput == YYEOF && zzStartRead == zzCurrentPos ) { zzAtEOF = true ; zzDoEOF ( ) ; return null ; } else { switch ( zzAction < 0 ? zzAction : ZZ_ACTION [ zzAction ] ) { case 1 : { return STRING ; } case 7 : break ; case 2 : { yybegin ( STRING_CONTENT ) ; return STRING ; } case 8 : break ; case 3 : { return INVALID_NEXT_LINE ; } case 9 : break ; case 4 : { yybegin ( BLOCK_STRING_CONTENT ) ; return STRING ; } case 10 : break ; case 5 : { return VALID_STRING_ESCAPE_TOKEN ; } case 11 : break ; case 6 : { return NEXT_LINE ; } case 12 : break ; default : zzScanError ( ZZ_NO_MATCH ) ; } } } }
Resumes scanning until the next regular expression is matched,
 the end of input is encountered or an I/O-Error occurs.
Resumes scanning until the next regular expression is matched the end of input is encountered or an I / O - Error occurs .
// cached fields: // set up zzAction for empty match case: // store back cached positions // get translated positions and possibly new buffer // store back cached position // fall through // fall through // fall through // fall through // fall through // fall through