| Package | Description |
|---|---|
| gudusoft.gsqlparser |
Provides the class
TGSqlParser necessary to create a SQL Parser and the classes a SQL Parser uses
internally to handle different SQL dialects. |
| gudusoft.gsqlparser.pp.utils | |
| gudusoft.gsqlparser.pp2.token | |
| gudusoft.gsqlparser.pp2.zone | |
| gudusoft.gsqlparser.scriptWriter |
| Modifier and Type | Field and Description |
|---|---|
ETokenType |
TSourceToken.tokentype
Uniquely identify the token type in a more meaningful way.
|
| Modifier and Type | Method and Description |
|---|---|
static ETokenType |
ETokenType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ETokenType[] |
ETokenType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
TSourceToken.isnonsolidtoken(ETokenType tokentype)
Space, return, comments are treated as non-solid token by default
|
| Modifier and Type | Method and Description |
|---|---|
static int |
SourceTokenSearcher.indexOf(TSourceTokenList list,
int startPos,
int endPos,
ETokenType type)
search the source token in the source token list from the top
|
| Modifier and Type | Method and Description |
|---|---|
static SourceSpan.Kind |
SourceSpanLedger.classifyToken(ETokenType type)
Classify a token type into a
SourceSpan.Kind. |
static boolean |
Pp2TokenStreamBuilder.isFoldable(ETokenType type)
Is this token type rolled into preceding-whitespace counters rather
than emitted as its own
Pp2Token? Only true whitespace
tokens — comments are first-class in pp2. |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ProtectedZoneDetector.isNoFormatBeginMarker(ETokenType type,
String text)
True if the given line-comment text opens a no-format block.
|
static boolean |
ProtectedZoneDetector.isNoFormatEndMarker(ETokenType type,
String text)
True if the given line-comment text closes a no-format block.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TScriptWriter.addOperator(String text,
ETokenType tokenType) |