Package org.jruby.ast

Examples of org.jruby.ast.EvStrNode


            }
        }
    }

    public void compileEvStr(Node node, BodyCompiler context) {
        final EvStrNode evStrNode = (EvStrNode) node;

        compile(evStrNode.getBody(), context);
        context.asString();
    }
View Full Code Here


  break;
case 394:
          // line 1484 "DefaultRubyParser.y"
  {
       lexer.setStrTerm(((StrTerm)yyVals[-1+yyTop]));
             yyVal = new EvStrNode(support.union(((Token)yyVals[-2+yyTop]), ((Node)yyVals[0+yyTop])), ((Node)yyVals[0+yyTop]));
         }
  break;
case 395:
          // line 1488 "DefaultRubyParser.y"
  {
View Full Code Here

            if (!(node instanceof NewlineNode)) break;
               
            node = ((NewlineNode) node).getNextNode();
        }
       
        return new EvStrNode(position, head);
    }
View Full Code Here

        // TODO: don't require pop
        if (!expr) context.consumeCurrentValue();
    }

    public void compileEvStr(Node node, BodyCompiler context, boolean expr) {
        final EvStrNode evStrNode = (EvStrNode) node;

        compile(evStrNode.getBody(), context,true);
        context.asString();
        // TODO: don't require pop
        if (!expr) context.consumeCurrentValue();
    }
View Full Code Here

            if (!(node instanceof NewlineNode)) break;
               
            node = ((NewlineNode) node).getNextNode();
        }
       
        return new EvStrNode(position, head);
    }
View Full Code Here

TOP

Related Classes of org.jruby.ast.EvStrNode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.