public class ClassNode extends Node implements IScopingNode
containsVariableAssignment, newline
Constructor and Description |
---|
ClassNode(ISourcePosition position,
Colon3Node cpath,
StaticScope scope,
Node bodyNode,
Node superNode,
int endLine) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(NodeVisitor<T> iVisitor)
Accept for the visitor pattern.
|
java.util.List<Node> |
childNodes() |
boolean |
executesOnce() |
Node |
getBodyNode()
Gets the body of this class.
|
Colon3Node |
getCPath()
Gets the className.
|
int |
getEndLine()
Gets line where the 'end' was for this module.
|
NodeType |
getNodeType() |
StaticScope |
getScope()
Get the static scoping information.
|
Node |
getSuperNode()
Gets the superNode.
|
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getFile, getLine, getNodeName, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toString, toStringInternal
public ClassNode(ISourcePosition position, Colon3Node cpath, StaticScope scope, Node bodyNode, Node superNode, int endLine)
public NodeType getNodeType()
getNodeType
in class Node
public <T> T accept(NodeVisitor<T> iVisitor)
public Node getBodyNode()
getBodyNode
in interface IScopingNode
public int getEndLine()
public StaticScope getScope()
getScope
in interface IScopingNode
public Colon3Node getCPath()
getCPath
in interface IScopingNode
public Node getSuperNode()
public java.util.List<Node> childNodes()
childNodes
in class Node
public boolean executesOnce()
executesOnce
in class Node
Copyright © 2001-2019 JRuby. All Rights Reserved.