Package org.jruby.ast

Class FindPatternNode

java.lang.Object
org.jruby.ast.Node
org.jruby.ast.FindPatternNode

public class FindPatternNode extends Node
  • Constructor Details

    • FindPatternNode

      public FindPatternNode(int line, Node preRestArg, ListNode args, Node postRestArg)
  • Method Details

    • accept

      public <T> T accept(NodeVisitor<T> visitor)
      Specified by:
      accept in class Node
    • childNodes

      public List<Node> childNodes()
      Specified by:
      childNodes in class Node
    • getNodeType

      public NodeType getNodeType()
      Specified by:
      getNodeType in class Node
      Returns:
      the nodeId
    • setConstant

      public void setConstant(Node constant)
    • hasConstant

      public boolean hasConstant()
    • getConstant

      public Node getConstant()
    • getArgs

      public Node[] getArgs()
    • getPreRestArg

      public Node getPreRestArg()
    • getPostRestArg

      public Node getPostRestArg()