public class RegularExpressionParser.Literal extends RegularExpressionParser.Expression
| Modifier and Type | Field and Description |
|---|---|
String |
lit
String denoting the literal.
|
| Constructor and Description |
|---|
Literal(String lit)
It constructs a literal.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object c) |
int |
getType() |
boolean |
isSimple()
It specifies if the expression is simple.
|
FSM |
parseToFSM()
It creates Finite State Machine from the expression.
|
String |
toString() |
public String lit
public Literal(String lit)
lit - string representation of the literal.public int getType()
public boolean isSimple()
RegularExpressionParser.ExpressionisSimple in class RegularExpressionParser.Expressionpublic FSM parseToFSM()
RegularExpressionParser.ExpressionparseToFSM in class RegularExpressionParser.ExpressionCopyright © 2022. All rights reserved.