Package org.jruby.ast
Class FindPatternNode
java.lang.Object
org.jruby.ast.Node
org.jruby.ast.FindPatternNode
-
Field Summary
Fields inherited from class org.jruby.ast.Node
containsVariableAssignment, newline -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(NodeVisitor<T> visitor) Node[]getArgs()booleanvoidsetConstant(Node constant) Methods inherited from class org.jruby.ast.Node
containsVariableAssignment, createList, createList, createList, createList, executesOnce, getFile, getLine, getNodeName, isNewline, isNil, needsDefinitionCheck, setLine, setNewline, toString, toString, toStringExtraInfo, toStringInternal, unsetNewline
-
Constructor Details
-
FindPatternNode
-
-
Method Details
-
accept
-
childNodes
- Specified by:
childNodesin classNode
-
getNodeType
- Specified by:
getNodeTypein classNode- Returns:
- the nodeId
-
setConstant
-
hasConstant
public boolean hasConstant() -
getConstant
-
getArgs
-
getPreRestArg
-
getPostRestArg
-