org.jruby.lexer.yacc
Class HeredocTerm
java.lang.Object
org.jruby.lexer.yacc.StrTerm
org.jruby.lexer.yacc.HeredocTerm
public class HeredocTerm
- extends StrTerm
A lexing unit for scanning a heredoc element.
Example:
foo(<
Constructor Summary |
HeredocTerm(org.jruby.util.ByteList marker,
int func,
org.jruby.util.ByteList lastLine)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HeredocTerm
public HeredocTerm(org.jruby.util.ByteList marker,
int func,
org.jruby.util.ByteList lastLine)
parseString
public int parseString(RubyYaccLexer lexer,
LexerSource src)
throws java.io.IOException
- Specified by:
parseString
in class StrTerm
- Throws:
java.io.IOException
Copyright © 2002-2009 JRuby Team. All Rights Reserved.