Class Nodes.DefNode
java.lang.Object
org.prism.Nodes.Node
org.prism.Nodes.DefNode
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Nodes.Nodefinal org.jruby.RubySymbol[]final org.jruby.RubySymbolfinal Nodes.ParametersNodefinal Nodes.Nodefinal intFields inherited from class org.prism.Nodes.Node
EMPTY_ARRAY, length, startOffset -
Constructor Summary
ConstructorsConstructorDescriptionDefNode(int startOffset, int length, int serializedLength, org.jruby.RubySymbol name, Nodes.Node receiver, Nodes.ParametersNode parameters, Nodes.Node body, org.jruby.RubySymbol[] locals) -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(AbstractNodeVisitor<T> visitor) protected String<T> voidvisitChildNodes(AbstractNodeVisitor<T> visitor) Methods inherited from class org.prism.Nodes.Node
endOffset, hasNewLineFlag, setNewLineFlag, setNewLineFlag, toString
-
Field Details
-
serializedLength
public final int serializedLength -
name
public final org.jruby.RubySymbol name -
receiver
-
parameters
-
body
-
locals
public final org.jruby.RubySymbol[] locals
-
-
Constructor Details
-
DefNode
public DefNode(int startOffset, int length, int serializedLength, org.jruby.RubySymbol name, Nodes.Node receiver, Nodes.ParametersNode parameters, Nodes.Node body, org.jruby.RubySymbol[] locals)
-
-
Method Details
-
visitChildNodes
- Specified by:
visitChildNodesin classNodes.Node
-
childNodes
- Specified by:
childNodesin classNodes.Node
-
accept
- Specified by:
acceptin classNodes.Node
-
toString
- Specified by:
toStringin classNodes.Node
-