org.jrubyparser
Class RegexpOptions

java.lang.Object
  extended by org.jrubyparser.RegexpOptions
All Implemented Interfaces:
Cloneable

public class RegexpOptions
extends Object
implements Cloneable

Author:
enebo

Field Summary
static RegexpOptions NULL_OPTIONS
           
 
Constructor Summary
RegexpOptions()
           
RegexpOptions(boolean isKCodeDefault)
           
 
Method Summary
 Object clone()
           
 boolean equals(Object other)
           
 char getKCodeChar()
           
 int hashCode()
           
 boolean isEmbeddable()
           
 boolean isEncodingNone()
           
 boolean isExtended()
           
 boolean isFixed()
           
 boolean isIgnorecase()
           
 boolean isJava()
           
 boolean isKcodeDefault()
          Whether the kcode associated with this regexp is implicit (aka default) or is specified explicitly (via 'nesu' syntax postscript or flags to Regexp.new.
 boolean isLiteral()
           
 boolean isMultiline()
           
 boolean isOnce()
           
 void setEncodingNone(boolean encodingNone)
           
 void setExtended(boolean extended)
           
 void setFixed(boolean fixed)
           
 void setIgnorecase(boolean ignorecase)
           
 void setJava(boolean java)
           
 void setKCodeChar(char value)
           
 void setMultiline(boolean multiline)
           
 void setOnce(boolean once)
           
 String toString()
           
 RegexpOptions withoutOnce()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NULL_OPTIONS

public static final RegexpOptions NULL_OPTIONS
Constructor Detail

RegexpOptions

public RegexpOptions()

RegexpOptions

public RegexpOptions(boolean isKCodeDefault)
Method Detail

isExtended

public boolean isExtended()

setExtended

public void setExtended(boolean extended)

isIgnorecase

public boolean isIgnorecase()

setIgnorecase

public void setIgnorecase(boolean ignorecase)

isFixed

public boolean isFixed()

setFixed

public void setFixed(boolean fixed)

isKcodeDefault

public boolean isKcodeDefault()
Whether the kcode associated with this regexp is implicit (aka default) or is specified explicitly (via 'nesu' syntax postscript or flags to Regexp.new.


isMultiline

public boolean isMultiline()

setMultiline

public void setMultiline(boolean multiline)

isOnce

public boolean isOnce()

setOnce

public void setOnce(boolean once)

isJava

public boolean isJava()

setJava

public void setJava(boolean java)

isEncodingNone

public boolean isEncodingNone()

setEncodingNone

public void setEncodingNone(boolean encodingNone)

isLiteral

public boolean isLiteral()

isEmbeddable

public boolean isEmbeddable()

setKCodeChar

public void setKCodeChar(char value)

getKCodeChar

public char getKCodeChar()

withoutOnce

public RegexpOptions withoutOnce()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

clone

public Object clone()
Overrides:
clone in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.