1 31 package org.jruby.ast; 32 33 import org.jruby.ast.types.ILiteralNode; 34 import org.jruby.ast.visitor.NodeVisitor; 35 import org.jruby.evaluator.Instruction; 36 import org.jruby.lexer.yacc.ISourcePosition; 37 38 44 public class DXStrNode extends ListNode implements ILiteralNode { 45 static final long serialVersionUID = 7165988969190553667L; 46 47 public DXStrNode(ISourcePosition position, DStrNode node) { 48 super(position, NodeTypes.DXSTRNODE); 49 addAll(node); 50 } 51 52 public DXStrNode(ISourcePosition position) { 53 super(position, NodeTypes.DXSTRNODE); 54 } 55 56 60 public Instruction accept(NodeVisitor iVisitor) { 61 return iVisitor.visitDXStrNode(this); 62 } 63 } 64 | Popular Tags |