weka.core.parser.JFlex
Class RegExp2
java.lang.Object
weka.core.parser.JFlex.RegExp
weka.core.parser.JFlex.RegExp2
public class RegExp2
- extends RegExp
Regular expression with two children (e.g. a | b)
- Version:
- JFlex 1.4.1, $Revision: 1.1 $, $Date: 2008-05-09 09:14:11 $
- Author:
- Gerwin Klein
Method Summary |
java.lang.String |
print(java.lang.String tab)
Returns a String-representation of this regular expression
with the specified indentation. |
java.lang.String |
toString()
Returns a String-representation of this regular expression |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RegExp2
public RegExp2(int type,
RegExp r1,
RegExp r2)
print
public java.lang.String print(java.lang.String tab)
- Description copied from class:
RegExp
- Returns a String-representation of this regular expression
with the specified indentation.
- Overrides:
print
in class RegExp
- Parameters:
tab
- a String that should contain only space characters and
that is inserted in front of standard String-representation
pf this object.
toString
public java.lang.String toString()
- Description copied from class:
RegExp
- Returns a String-representation of this regular expression
- Overrides:
toString
in class RegExp