org.jruby.lexer.yacc
Class HeredocTerm

java.lang.Object
  extended by org.jruby.lexer.yacc.StrTerm
      extended by org.jruby.lexer.yacc.HeredocTerm

public class HeredocTerm
extends StrTerm

A lexing unit for scanning a heredoc element. Example:

 foo(<


Constructor Summary
HeredocTerm(ByteList marker, int func, ByteList lastLine)
           
 
Method Summary
 int parseString(RubyYaccLexer lexer, LexerSource src)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeredocTerm

public HeredocTerm(ByteList marker,
                   int func,
                   ByteList lastLine)
Method Detail

parseString

public int parseString(RubyYaccLexer lexer,
                       LexerSource src)
                throws java.io.IOException
Specified by:
parseString in class StrTerm
Throws:
java.io.IOException


Copyright © 2002-2007 JRuby Team. All Rights Reserved.