Package org.jruby.lexer.yacc
Class HeredocTerm
java.lang.Object
org.jruby.lexer.yacc.StrTerm
org.jruby.lexer.yacc.HeredocTerm
A lexing unit for scanning a heredoc element.
Example:
foo(<<EOS, bar) This is heredoc country! EOF Where: EOS = marker ',bar)\n' = lastLine
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHeredocTerm
(ByteList marker, int func, int nth, int line, ByteList lastLine) -
Method Summary
-
Field Details
-
nth
protected final int nth -
line
protected final int line -
lastLine
-
-
Constructor Details
-
HeredocTerm
-
-
Method Details
-
getFlags
public int getFlags() -
error
-
restore
-
parseString
- Specified by:
parseString
in classStrTerm
- Throws:
IOException
-