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.Expression
isSimple
in class RegularExpressionParser.Expression
public FSM parseToFSM()
RegularExpressionParser.Expression
parseToFSM
in class RegularExpressionParser.Expression
Copyright © 2022. All rights reserved.