1 31 package org.jruby.ast; 32 33 import java.util.List ; 34 35 import org.jruby.ast.types.ILiteralNode; 36 import org.jruby.ast.visitor.NodeVisitor; 37 import org.jruby.evaluator.Instruction; 38 import org.jruby.lexer.yacc.ISourcePosition; 39 40 46 public class ZArrayNode extends Node implements ILiteralNode { 47 static final long serialVersionUID = -5004157166982016917L; 48 49 50 public ZArrayNode(ISourcePosition position) { 51 super(position, NodeTypes.ZARRAYNODE); 52 } 53 54 58 public Instruction accept(NodeVisitor iVisitor) { 59 return iVisitor.visitZArrayNode(this); 60 } 61 62 public List childNodes() { 63 return EMPTY_LIST; 64 } 65 66 } 67 | Popular Tags |