Class Nodes.BlockLocalVariableNode
java.lang.Object
org.prism.Nodes.Node
org.prism.Nodes.BlockLocalVariableNode
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal shortfinal org.jruby.RubySymbolThe name of the block local variable.Fields inherited from class org.prism.Nodes.Node
EMPTY_ARRAY, length, startOffset -
Constructor Summary
ConstructorsConstructorDescriptionBlockLocalVariableNode(int startOffset, int length, short flags, org.jruby.RubySymbol name) -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(AbstractNodeVisitor<T> visitor) booleanprotected String<T> voidvisitChildNodes(AbstractNodeVisitor<T> visitor) Methods inherited from class org.prism.Nodes.Node
endOffset, hasNewLineFlag, setNewLineFlag, setNewLineFlag, toString
-
Field Details
-
flags
public final short flags -
name
public final org.jruby.RubySymbol nameThe name of the block local variable. a { |; b| } # name `:b` ^
-
-
Constructor Details
-
BlockLocalVariableNode
public BlockLocalVariableNode(int startOffset, int length, short flags, org.jruby.RubySymbol name)
-
-
Method Details
-
isRepeatedParameter
public boolean isRepeatedParameter() -
visitChildNodes
- Specified by:
visitChildNodesin classNodes.Node
-
childNodes
- Specified by:
childNodesin classNodes.Node
-
accept
- Specified by:
acceptin classNodes.Node
-
toString
- Specified by:
toStringin classNodes.Node
-