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(<<EOS, bar)
 This is heredoc country!
 EOF
 
 Where:
 EOS = marker
 ',bar)\n' = lastLine
 
  • Field Details

    • nd_lit

      private final ByteList nd_lit
    • flags

      private final int flags
    • nth

      protected final int nth
    • line

      protected final int line
    • lastLine

      protected final ByteList lastLine
  • Constructor Details

    • HeredocTerm

      public HeredocTerm(ByteList marker, int func, int nth, int line, ByteList lastLine)
  • Method Details