int c = lexer.nextc(); if (c == EOF) return error(lexer, len, str, eos); if (lexer.nextc() == -1) return error(lexer, len, null, eos); } while (!lexer.whole_match_p(eos, indent)); } else { if (lexer.eofp) return error(lexer, len, str, eos); return restore(lexer); if ((c = lexer.nextc()) == EOF) return error(lexer, len, str, eos); } while (!lexer.whole_match_p(eos, indent)); str = tok;
public int parseString(RubyYaccLexer lexer, LexerSource src) throws java.io.IOException { boolean indent = (flags & RubyYaccLexer.STR_FUNC_INDENT) != 0; if (src.peek(RubyYaccLexer.EOF)) syntaxError(src); str.append(src.readLineBytes()); str.append('\n'); if (src.peek(RubyYaccLexer.EOF)) syntaxError(src); position = lexer.getPosition(); } while (!src.matchMarker(marker, indent, true)); syntaxError(src); if (src.peek(RubyYaccLexer.EOF)) syntaxError(src); position = lexer.getPosition(); } while (!src.matchMarker(marker, indent, true));
lex_strterm = new HeredocTerm(markerValue, func, lastLine);
lex_strterm = new HeredocTerm(markerValue, func, len, ruby_sourceline, lex_lastline);
lex_strterm = new HeredocTerm(markerValue, func, len, ruby_sourceline, lex_lastline);
int c = lexer.nextc(); if (c == EOF) return error(lexer, len, str, eos); if (lexer.nextc() == -1) return error(lexer, len, null, eos); } while (!lexer.whole_match_p(eos, indent)); } else { if (lexer.eofp) return error(lexer, len, str, eos); return restore(lexer); if ((c = lexer.nextc()) == EOF) return error(lexer, len, str, eos); } while (!lexer.whole_match_p(eos, indent)); str = tok;
public int parseString(RubyYaccLexer lexer, LexerSource src) throws java.io.IOException { boolean indent = (flags & RubyYaccLexer.STR_FUNC_INDENT) != 0; if (src.peek(RubyYaccLexer.EOF)) syntaxError(src); str.append(src.readLineBytes()); str.append('\n'); if (src.peek(RubyYaccLexer.EOF)) syntaxError(src); position = lexer.getPosition(); } while (!src.matchMarker(marker, indent, true)); syntaxError(src); if (src.peek(RubyYaccLexer.EOF)) syntaxError(src); position = lexer.getPosition(); } while (!src.matchMarker(marker, indent, true));
lex_strterm = new HeredocTerm(markerValue, func, lastLine);