1 29 package org.jruby.ast; 30 31 import org.jruby.ast.visitor.NodeVisitor; 32 import org.jruby.evaluator.Instruction; 33 import org.jruby.lexer.yacc.ISourcePosition; 34 35 39 public class DSymbolNode extends ListNode { 40 private static final long serialVersionUID = 3763093063878326071L; 41 42 47 public DSymbolNode(ISourcePosition position, DStrNode node) { 48 super(position, NodeTypes.DSYMBOLNODE); 49 addAll(node); 50 } 51 52 public DSymbolNode(ISourcePosition position) { 53 super(position, NodeTypes.DSYMBOLNODE); 54 } 55 56 public Instruction accept(NodeVisitor visitor) { 57 return visitor.visitDSymbolNode(this); 58 } 59 } 60 | Popular Tags |