org.jruby.ast
Class RegexpNode

java.lang.Object
  extended byorg.jruby.ast.AbstractNode
      extended byorg.jruby.ast.RegexpNode
All Implemented Interfaces:
ILiteralNode, INode, java.io.Serializable

public class RegexpNode
extends AbstractNode
implements ILiteralNode

Represents a simple regular expression literal.

Version:
$Revision: 1.3 $
Author:
jpetersen
See Also:
Serialized Form

Constructor Summary
RegexpNode(ISourcePosition position, java.lang.String value, int options)
           
 
Method Summary
 void accept(INodeVisitor iVisitor)
           
 int getOptions()
          Gets the options.
 java.lang.String getValue()
          Gets the value.
 
Methods inherited from class org.jruby.ast.AbstractNode
getPosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegexpNode

public RegexpNode(ISourcePosition position,
                  java.lang.String value,
                  int options)
Method Detail

accept

public void accept(INodeVisitor iVisitor)
Specified by:
accept in interface INode

getOptions

public int getOptions()
Gets the options.

Returns:
Returns a int

getValue

public java.lang.String getValue()
Gets the value.

Returns:
Returns a String


Copyright © 2002 Jan Arne Petersen. All Rights Reserved.