Package org.jruby.ast

Class RegexpNode

java.lang.Object
org.jruby.ast.Node
org.jruby.ast.RegexpNode
All Implemented Interfaces:
ILiteralNode

public class RegexpNode extends Node implements ILiteralNode
Represents a simple regular expression literal.
  • Constructor Details

  • Method Details

    • getEncoding

      public org.jcodings.Encoding getEncoding()
    • getNodeType

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

      public <T> T accept(NodeVisitor<T> iVisitor)
      Specified by:
      accept in class Node
    • getOptions

      public RegexpOptions getOptions()
      Gets the options.
    • getValue

      public ByteList getValue()
      Gets the value.
      Returns:
      Returns a ByteList
    • childNodes

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