Top Fields Constructors Methods
org.jruby.ast

public Class OptArgNode

extends Node
implements INameNode
Class Inheritance
All Implemented Interfaces
org.jruby.ast.types.INameNode
Imports
java.util.List, org.jruby.RubySymbol, org.jruby.ast.types.INameNode, org.jruby.ast.visitor.NodeVisitor

Field Summary

Modifier and TypeField and Description
private final Node
Inherited from org.jruby.ast.Node:
containsVariableAssignmentEMPTY_LISTnewline

Constructor Summary

AccessConstructor and Description
public
OptArgNode(int line, Node value)

Method Summary

Modifier and TypeMethod and Description
public <T> T
accept(NodeVisitor<T> visitor)

Implements abstract org.jruby.ast.Node.accept.

public List<Node>
public RubySymbol
public NodeType
public Node
Inherited from org.jruby.ast.Node:
containsVariableAssignmentcreateListcreateListcreateListcreateListexecutesOncegetFilegetLinegetNodeNameisNewlineisNilneedsDefinitionChecksetLinesetNewlinetoStringtoStringtoStringExtraInfotoStringInternalunsetNewline

Field Detail

valueback to summary
private final Node value

Constructor Detail

OptArgNodeback to summary
public OptArgNode(int line, Node value)

Method Detail

acceptback to summary
public <T> T accept(NodeVisitor<T> visitor)

Implements abstract org.jruby.ast.Node.accept.

Annotations
@Override
childNodesback to summary
public List<Node> childNodes()

Implements abstract org.jruby.ast.Node.childNodes.

Annotations
@Override
getNameback to summary
public RubySymbol getName()

Implements org.jruby.ast.types.INameNode.getName.

getNodeTypeback to summary
public NodeType getNodeType()

Implements abstract org.jruby.ast.Node.getNodeType.

Returns:NodeType

Doc from org.jruby.ast.Node.getNodeType.

the nodeId

getValueback to summary
public Node getValue()