Package org.jruby.ast

Class InNode

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

public class InNode extends Node
  • Constructor Details

    • InNode

      public InNode(int line, Node expr, Node body, Node nextCase)
  • Method Details

    • getExpression

      public Node getExpression()
    • getBody

      public Node getBody()
    • getNextCase

      public Node getNextCase()
    • isSinglePattern

      public boolean isSinglePattern()
    • 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