Top Fields Constructors Methods
org.jruby.ast

public Class FindPatternNode

extends Node
Class Inheritance
Imports
org.jruby.ast.visitor.NodeVisitor, java.util.List

Field Summary

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

Constructor Summary

AccessConstructor and Description
public
FindPatternNode(int line, Node preRestArg, ListNode args, Node postRestArg)

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 Node[]
public Node
public NodeType
public Node
public Node
public boolean
public void
setConstant(Node constant)

Inherited from org.jruby.ast.Node:
containsVariableAssignmentcreateListcreateListcreateListcreateListexecutesOncegetFilegetLinegetNodeNameisNewlineisNilneedsDefinitionChecksetLinesetNewlinetoStringtoStringtoStringExtraInfotoStringInternalunsetNewline

Field Detail

argsback to summary
private final ListNode args
constantback to summary
private Node constant
postRestArgback to summary
private final Node postRestArg
preRestArgback to summary
private final Node preRestArg

Constructor Detail

FindPatternNodeback to summary
public FindPatternNode(int line, Node preRestArg, ListNode args, Node postRestArg)

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
getArgsback to summary
public Node[] getArgs()
getConstantback to summary
public Node getConstant()
getNodeTypeback to summary
public NodeType getNodeType()

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

Returns:NodeType

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

the nodeId

Annotations
@Override
getPostRestArgback to summary
public Node getPostRestArg()
getPreRestArgback to summary
public Node getPreRestArg()
hasConstantback to summary
public boolean hasConstant()
setConstantback to summary
public void setConstant(Node constant)