public class ConstNode extends Node implements INameNode
containsVariableAssignment, newline| Constructor and Description | 
|---|
| ConstNode(ISourcePosition position,
         String name) | 
| Modifier and Type | Method and Description | 
|---|---|
| <T> T | accept(NodeVisitor<T> iVisitor)Accept for the visitor pattern. | 
| List<Node> | childNodes() | 
| String | getName()Gets the name. | 
| NodeType | getNodeType() | 
| void | setName(String name) | 
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getLine, getNodeName, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toStringpublic ConstNode(ISourcePosition position, String name)
public NodeType getNodeType()
getNodeType in class Nodepublic <T> T accept(NodeVisitor<T> iVisitor)
public String getName()
public List<Node> childNodes()
childNodes in class Nodepublic void setName(String name)
Copyright © 2001-2015 JRuby. All Rights Reserved.