Package org.jruby.ast
Class MatchNode
java.lang.Object
org.jruby.ast.Node
org.jruby.ast.MatchNode
-
Field Summary
FieldsFields inherited from class org.jruby.ast.Node
containsVariableAssignment, EMPTY_LIST, newline -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(NodeVisitor<T> iVisitor) Accept for the visitor pattern.Gets the regexpNode.Methods inherited from class org.jruby.ast.Node
containsVariableAssignment, createList, createList, createList, createList, executesOnce, findFirstChild, getFile, getLine, getNodeName, isNewline, isNil, needsDefinitionCheck, setLine, setNewline, toString, toString, toStringExtraInfo, toStringInternal, unsetNewline
-
Field Details
-
regexpNode
-
-
Constructor Details
-
MatchNode
-
-
Method Details
-
getNodeType
- Specified by:
getNodeTypein classNode- Returns:
- the nodeId
-
accept
Accept for the visitor pattern. -
getRegexpNode
Gets the regexpNode.- Returns:
- Returns a Node
-
childNodes
- Specified by:
childNodesin classNode
-