public class AnyCharacter extends RegexSymbol
ANY_CODE, CHAR_CODE, CHARACTER_CLASS_CODE, EPSILON_CODE, HASH_ANY, HASH_EPSILON| Constructor and Description |
|---|
AnyCharacter() |
| Modifier and Type | Method and Description |
|---|---|
String |
canonical()
A string representation of this symbol
|
int |
code()
When written to the output stream, each symbol has a separate code
|
boolean |
equals(Object o) |
int[] |
getCodeArray() |
int |
hashCode() |
boolean |
isEpsilon()
Is the symbol an ε symbol?
|
boolean |
matches(char c)
Does a character matches a symbol?
|
int |
sizeof()
What is the size of this object in the edge table?
|
String |
toHtmlString() |
String |
toString() |
public boolean isEpsilon()
RegexSymbolisEpsilon in class RegexSymbolpublic String canonical()
RegexSymbolcanonical in class RegexSymbolpublic boolean matches(char c)
RegexSymbolmatches in class RegexSymbolc - the characterpublic int code()
RegexSymbolcode in class RegexSymbolpublic int sizeof()
RegexSymbolsizeof in class RegexSymbolpublic int[] getCodeArray()
getCodeArray in class RegexSymbolpublic String toHtmlString()
toHtmlString in class RegexSymbolCopyright © 2017. All rights reserved.