Package io.github.fupacat
Class TSql180ParserBaseInternalHelper
java.lang.Object
antlr.Parser
antlr.LLkParser
io.github.fupacat.TSql160ParserBaseInternal
io.github.fupacat.TSql180ParserBaseInternalHelper
- All Implemented Interfaces:
TSql180ParserInternalTokenTypes
- Direct Known Subclasses:
TSql160ParserBaseInternalHelper,TSql180ParserInternal
public class TSql180ParserBaseInternalHelper
extends TSql160ParserBaseInternal
implements TSql180ParserInternalTokenTypes
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class io.github.fupacat.TSql160ParserBaseInternal
BATCH_RECOVERY_TOKENS, initialQuotedIdentifiersOn, STATEMENT_RECOVERY_TOKENS, tokenSourceFields inherited from class antlr.Parser
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepthFields inherited from interface io.github.fupacat.TSql180ParserInternalTokenTypes
Add, AddEquals, AiGenerateEmbeddings, All, Alter, Ampersand, And, Any, As, Asc, AsciiStringLiteral, AsciiStringOrQuotedIdentifier, Authorization, Backup, Bang, Begin, Between, BitwiseAndEquals, BitwiseOrEquals, BitwiseXorEquals, Break, Browse, Bulk, By, Cascade, Case, Check, Checkpoint, Circumflex, Close, Clustered, Coalesce, Collate, Colon, Column, Comma, Commit, Compute, Concat, ConcatEquals, Connection, Constraint, Contains, ContainsTable, Continue, Convert, Create, Credential, Cross, Current, CurrentDate, CurrentTime, CurrentTimestamp, CurrentUser, Cursor, Database, Dbcc, Deallocate, Declare, Default, Delete, Deny, Desc, Disk, Distinct, Distributed, Divide, DivideEquals, DollarPartition, Dot, Double, DoubleColon, Drop, Dump, Else, End, EOF, EqualsSign, Errlvl, Escape, Except, Exec, Execute, Exists, Exit, External, Fetch, File, FillFactor, For, Foreign, FreeText, FreeTextTable, From, Full, Function, Go, GoTo, Grant, GreaterThan, Group, Having, HexLiteral, HoldLock, Identifier, Identity, IdentityColumn, IdentityInsert, If, In, Index, Inner, Insert, Integer, Intersect, Into, Is, Join, Key, Kill, Label, Left, LeftCurly, LeftParenthesis, LeftShift, LessThan, Like, LineNo, Load, Merge, Minus, ModEquals, Money, MultilineComment, MultiplyEquals, National, NoCheck, NonClustered, Not, Null, NULL_TREE_LOOKAHEAD, NullIf, Numeric, Object, OdbcInitiator, Of, Off, Offsets, On, Open, OpenDataSource, OpenQuery, OpenRowSet, OpenXml, Option, Or, Order, Outer, Over, Parameters, Percent, PercentSign, Pivot, Plan, Plus, Precision, Primary, Print, Proc, Procedure, ProcNameSemicolon, PseudoColumn, Public, QuotedIdentifier, Raiserror, Read, ReadText, Real, Reconfigure, References, Replication, Restore, Restrict, Return, Revert, Revoke, Right, RightCurly, RightOuterJoin, RightParenthesis, RightShift, Rollback, RowCount, RowGuidColumn, Rule, Save, Schema, Select, SemanticKeyPhraseTable, SemanticSimilarityDetailsTable, SemanticSimilarityTable, Semicolon, SessionUser, Set, SetUser, Shutdown, SingleLineComment, Some, SqlCommandIdentifier, Star, Statistics, StopList, SubtractEquals, SystemUser, Table, TableSample, TextSize, Then, Tilde, To, Top, Tran, Transaction, Trigger, Truncate, TryConvert, TSEqual, UnicodeStringLiteral, Union, Unique, Unpivot, Update, UpdateText, Use, User, Values, Variable, Varying, VerticalLine, View, WaitFor, When, Where, While, WhiteSpace, With, WriteText -
Constructor Summary
ConstructorsConstructorDescriptionTSql180ParserBaseInternalHelper(boolean initialQuotedIdentifiersOn) TSql180ParserBaseInternalHelper(antlr.ParserSharedInputState s, int k) TSql180ParserBaseInternalHelper(antlr.TokenBuffer b) TSql180ParserBaseInternalHelper(antlr.TokenBuffer b, int k) TSql180ParserBaseInternalHelper(antlr.TokenStream l, int k) -
Method Summary
Modifier and TypeMethodDescriptionintvoidAddAndUpdateTokenInfo(Object... args) <T> TAddBinaryExpression(Object... args) voidAddConstraintToColumn(Object... args) voidAddConstraintToComputedColumn(Object... args) voidAddIdentifierToListWithCheck(Object... args) voidAddParseError(Object error) voidAddParseError(Object... args) <T> TAggregateAuthenticationType(Object... args) <T> TAggregatePortType(Object... args) voidAssignCopyColumnOptions(Object... args) voidAssignValueToCopyOption(Object... args) voidAttachScriptTokenStream(Object fragment) voidbeginComplexToken(Object... args) voidCheckAndIncrementColumnCount(Object... args) voidvoidvoidCheckCertificateOptionDupication(Object... args) voidvoidCheckCopyOptionDuplication(Object... args) voidvoidCheckDmlTriggerActionDuplication(Object... args) voidvoidvoidCheckFillFactorRange(Object... args) voidCheckForCellsPerObjectValueRange(Object... args) voidvoidvoidvoidvoidvoidCheckForTemporaryFunction(Object... args) voidCheckForTemporaryView(Object... args) voidvoidvoidCheckIdentifierLength(Object... args) voidCheckIdentifierLiteralLength(Object... args) voidCheckIfEndpointOptionAllowed(Object... args) voidCheckIfPayloadOptionAllowed(Object... args) voidCheckIfValidLanguageHex(Object... args) voidCheckIfValidLanguageIdentifier(Object... args) voidCheckIfValidLanguageInteger(Object... args) voidCheckIfValidLanguageString(Object... args) voidvoidCheckLowPriorityLockWaitValue(Object... args) voidCheckOptionDuplication(Object... args) voidvoidCheckRetentionPeriodDuration(Object... args) voidCheckSpecialColumn(Object... args) voidCheckSqlDataTypeParameters(Object... args) voidCheckStarQualifier(Object... args) voidCheckTableNameExistsForColumn(Object... args) voidvoidvoidCheckValidWlmTimeLiteral(Object... args) voidCheckWindowFrame(Object... args) voidCheckXmlForClauseOptionDuplication(Object... args) voidCheckXMLValidity(Object... args) booleanContainsVectorInLookahead(Object... args) <T> TCreateAutoCleanupDetail(Object... args) <T> TCreateEventGroupContainer(Object... args) <T> TCreateEventTypeContainer(Object... args) CreateIdentifierFromLabel(antlr.Token t) voidCreateIdentifierFromLabel(antlr.Token label, Identifier identifier, MultiPartIdentifier multiPartIdentifier) CreateIdentifierFromToken(antlr.Token t) CreateIdentifierLiteral(String val, QuoteType qt) <T> TCreateIndexType(IndexTypeKind kind) <T> TCreateInternalError(Object... args) <T> TCreateSetClauseColumn(Object... args) <T> TCreateSimpleRestoreOptionWithValue(Object... args) <T> TCreateStopRestoreOption(Object... args) CreateTemporalClause(TemporalClauseType clauseType) DecodeAsciiStringLiteral(Object... args) DecodeUnicodeStringLiteral(Object... args) <T> TEnableDisableMatcher(Object... args) <T> TGetAlterIndexStatementKind(Object... args) GetEmptyIdentifier(Object... args) <T> TGetFirstToken(Object... args) void<T> TGetOptionTypeByName(Object... args) GetUnexpectedTokenError(Object... args) GetUnexpectedTokenErrorException(Object... args) <T> TIdentifierOrValueExpression(Object... args) voidinitialize(Object... args) booleanIsAsciiStringLob(Object... args) booleanIsBinaryLiteralLob(Object... args) booleanIsGraphPseudoColumn(Object... args) booleanIsNextRuleBooleanParenthesis(Object... args) booleanIsNextRuleSelectParenthesis(Object... args) booleanIsStatementIsNext(Object... args) booleanIsStopAtBeforeMarkRestoreOption(Object... args) booleanbooleanIsTableReference(Object... args) booleanIsUnicodeStringLob(Object... args) booleanbooleanbooleanMatchString(Object... args) booleanNextIdentifierMatchesOneOf(Object... args) booleanNextTokenMatches(Object... args) booleanNextTokenMatchesOneOf(Object... args) <T> TbooleanOptionValidForCreateDatabase(Object... args) <T> TParseAlterCreateFunctionWithOption(Object... args) <T> TParseCreateStatisticsWithOption(Object... args) <T> TParseIndexLegacyWithOption(Object... args) <T> TParseJoinOptimizerHint(Object... args) <T> TParseOdbcLiteralType(Object... args) <T> TParseOption(Object... args) <T> TParseSampleOptionsWithOption(Object... args) <T> TParseSecurityObjectKind(Object... args) <T> TParseSecurityObjectKindTSql170(Object... args) <T> TParseTriggerEnforcement(Object... args) <T> TParseUnionOptimizerHint(Object... args) <T> TProcessNationalAndVarying(Object... args) voidPutIdentifiersIntoFunctionCall(Object... args) <T> TRecognizeAesOrRc4(Object... args) boolean<T> TRecognizeAuthenticationProtocol(Object... args) voidRecoverAtBatchLevel(Object... args) voidRecoverAtStatementLevel(Object... args) booleanRequiresEqualsSign(Object... args) voidintResolveTokenIndex(Object tokenLike) voidSaveGuessing(Object... args) voidvoidSetFileStreamStorageOption(Object... args) voidSetFunctionBodyStatement(Object... args) voidSetIdentifier(Object... args) voidSetNameForDoublePrecisionType(Object... args) voidSetSparseStorageOption(Object... args) voidSetUnquotedIdentifier(Object... args) booleanSkipGuessing(Object... args) booleanSplitNumericIntoIpParts(Object... args) voidThrowConstraintIfPhaseOne(Object... args) voidvoidThrowIfEndOfFileOrBatch(Object... args) voidThrowIfInvalidListenerPortValue(Object... args) voidThrowIfMaxdopValueOutOfRange(Object... args) voidThrowIfPercentValueOutOfRange(Object... args) voidThrowIfTooLargeAuditFileSize(Object... args) voidThrowIfWrongGuidFormat(Object... args) voidThrowIncorrectSyntaxErrorException(Object... args) voidThrowParseErrorException(Object... args) voidThrowPartialAstIfPhaseOne(Object... args) voidbooleanbooleandoubleintbooleanTryParseOption(Object... args) voidvoidvoidvoidUpdatePositionInfo(Object... args) voidUpdateTokenInfo(Object... args) voidValidateCopyCredential(Object... args) voidValidateFetchApproximate(Object... args) voidValidateSecret(Object... args) voidValidateSemanticIndexExternalModel(Object... args) voidVerifyAllowedIndexOption(Object... args) voidVerifyAllowedIndexOption160(Object... args) voidVerifyColumnDataType(Object... args) Methods inherited from class io.github.fupacat.TSql160ParserBaseInternal
_addParseError, _isBatchRecoveryToken, _isStatementRecoveryToken, getParseErrorsMethods inherited from class antlr.LLkParser
consume, LA, LT, traceIn, traceOutMethods inherited from class antlr.Parser
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, defaultDebuggingSetup, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, getTokenTypeToASTClassMap, isDebugMode, mark, match, match, matchNot, panic, recover, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, reportError, reportError, reportWarning, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent
-
Field Details
-
_tokenSource
-
PhaseOne
public boolean PhaseOne -
_acceptableGoOffset
public int _acceptableGoOffset -
CurrentOffset
public int CurrentOffset -
Undefined
-
-
Constructor Details
-
TSql180ParserBaseInternalHelper
public TSql180ParserBaseInternalHelper(boolean initialQuotedIdentifiersOn) -
TSql180ParserBaseInternalHelper
public TSql180ParserBaseInternalHelper(antlr.TokenBuffer b, int k) -
TSql180ParserBaseInternalHelper
public TSql180ParserBaseInternalHelper(antlr.TokenBuffer b) -
TSql180ParserBaseInternalHelper
public TSql180ParserBaseInternalHelper(antlr.TokenStream l, int k)
-
-
Method Details
-
_ordinal
-
GetUnexpectedTokenError
-
GetUnexpectedTokenErrorException
-
GetFaultTolerantUnexpectedTokenError
-
ProcessTokenStreamRecognitionException
-
AddParseError
-
CreateIdentifierFromToken
-
CreateIdentifierFromLabel
-
CreateIdentifierFromLabel
public void CreateIdentifierFromLabel(antlr.Token label, Identifier identifier, MultiPartIdentifier multiPartIdentifier) -
GetEmptyIdentifier
-
GetIPv4FragmentFromDotNumberNumeric
-
GetIPv4FragmentFromNumberDotNumeric
-
AddAndUpdateTokenInfo
-
ResolveTokenIndex
-
AttachScriptTokenStream
-
UpdateTokenInfo
-
AddIdentifierToListWithCheck
-
ParseDataType180
-
ParseDataType160
-
ParseDataType100
-
IsXml
-
IsSys
-
IsTableReference
-
IsStatementIsNext
-
NextTokenMatches
-
NextTokenMatchesOneOf
-
ContainsVectorInLookahead
-
SkipGuessing
- Throws:
antlr.RecognitionException
-
SaveGuessing
- Throws:
antlr.RecognitionException
-
RecoverAtStatementLevel
-
RecoverAtBatchLevel
-
CreateIdentifierLiteral
-
CreateStringLiteral
-
CreateTemporalClause
-
CreateIntegerLiteral
-
CreateIndexType
-
tryParseIntVal
-
tryParseDoubleVal
-
SetField
-
GetField
-
EnableDisableMatcher
-
AddBinaryExpression
-
IsNextRuleSelectParenthesis
-
IsNextRuleBooleanParenthesis
-
Unquote
-
DecodeAsciiStringLiteral
-
DecodeUnicodeStringLiteral
-
CreateAutoCleanupDetail
-
CreateEventGroupContainer
-
CreateEventTypeContainer
-
CreateIdentifierOrScalarExpressionFromIdentifier
-
CreateInternalError
-
CreateSetClauseColumn
-
CreateSimpleRestoreOptionWithValue
-
CreateStopRestoreOption
-
GetAlterIndexStatementKind
-
GetOptionTypeByName
-
IdentifierOrValueExpression
-
NormalizeDatePartFunctionFirstParameter
-
ParseAlterCreateFunctionWithOption
-
ParseCreateStatisticsWithOption
-
ParseIndexLegacyWithOption
-
ParseJoinOptimizerHint
-
ParseOdbcLiteralType
-
ParseOption
-
ParseSampleOptionsWithOption
-
ParseSecurityObjectKind
-
ParseTriggerEnforcement
-
ParseUnionOptimizerHint
-
ProcessNationalAndVarying
-
GetFirstToken
-
AggregateAuthenticationType
-
AggregatePortType
-
RecognizeAesOrRc4
-
RecognizeAuthenticationProtocol
-
ParseSecurityObjectKindTSql170
-
NextIdentifierMatchesOneOf
-
IsStopAtBeforeMarkRestoreOption
-
IsGraphPseudoColumn
-
IsAsciiStringLob
-
IsBinaryLiteralLob
-
IsUnicodeStringLob
-
Match
-
MatchString
-
OptionValidForCreateDatabase
-
RecognizeAlterLoginSecAdminPasswordOption
-
RequiresEqualsSign
-
SplitNumericIntoIpParts
-
TryMatch
-
TryParse
-
TryParseOption
-
initialize
-
beginComplexToken
-
checkEOF
-
UpdatePositionInfo
-
AddParseError
-
ThrowParseErrorException
-
ThrowIncorrectSyntaxErrorException
-
ThrowPartialAstIfPhaseOne
-
ThrowConstraintIfPhaseOne
-
ThrowSyntaxErrorIfNotCreateAlterTable
-
ResetQuotedIdentifiersSettingToInitial
-
AddConstraintToColumn
-
AddConstraintToComputedColumn
-
AssignCopyColumnOptions
-
AssignValueToCopyOption
-
CheckAndIncrementColumnCount
-
CheckBoundingBoxParameterDuplication
-
CheckBrokerPriorityParameterDuplication
-
CheckCertificateOptionDupication
-
CheckComparisonOperandForIndexFilter
-
CheckCopyOptionDuplication
-
CheckCtasStatementHasDistributionOption
-
CheckDmlTriggerActionDuplication
-
CheckExternalTableCtasStatementHasNotRejectedRowLocationOption
-
CheckFillFactorRange
-
CheckForCellsPerObjectValueRange
-
CheckForConflictingOptionsInOpenRowsetBulkCosmos
-
CheckForDataFileFormatProhibitedOptionsBulkInsert
-
CheckForDataFileFormatProhibitedOptionsInOpenRowsetBulk
-
CheckForDistinctInWindowedAggregate
-
CheckForParquetFormatProhibitedOptionsInOpenRowsetBulk
-
CheckForTemporaryFunction
-
CheckForTemporaryView
-
CheckHekatonTableForInlineFilteredIndexes
-
CheckHekatonTableForNonClusteredColumnStoreIndexes
-
CheckIdentifierLength
-
CheckIdentifierLiteralLength
-
CheckIfEndpointOptionAllowed
-
CheckIfPayloadOptionAllowed
-
CheckIfValidLanguageHex
-
CheckIfValidLanguageIdentifier
-
CheckIfValidLanguageInteger
-
CheckIfValidLanguageString
-
CheckIfValidSpatialIndexOptionValue
-
CheckLowPriorityLockWaitValue
-
CheckPartitionAllSpecifiedForIndexRebuild
-
CheckRetentionPeriodDuration
-
CheckSpecialColumn
-
CheckSqlDataTypeParameters
-
CheckStarQualifier
-
CheckTableNameExistsForColumn
-
CheckTemporalPeriodInTableDefinition
-
CheckTwoPartNameForSchemaObjectName
-
CheckValidWlmTimeLiteral
-
CheckWindowFrame
-
CheckXMLValidity
-
CheckXmlForClauseOptionDuplication
-
GetIPv4FragmentsFromNumberDotNumberNumeric
-
PutIdentifiersIntoFunctionCall
-
SetFileStreamStorageOption
-
SetFunctionBodyStatement
-
SetIdentifier
-
SetNameForDoublePrecisionType
-
SetSparseStorageOption
-
SetUnquotedIdentifier
-
ThrowIfCompressionDelayValueOutOfRange
-
ThrowIfEndOfFileOrBatch
-
ThrowIfInvalidListenerPortValue
-
ThrowIfMaxdopValueOutOfRange
-
ThrowIfPercentValueOutOfRange
-
ThrowIfTooLargeAuditFileSize
-
ThrowIfWrongGuidFormat
-
UpdateBoundingBoxParameterEncounteredOptions
-
UpdateBrokerPriorityEncounteredOptions
-
UpdateDmlTriggerActionEncounteredOptions
-
ValidateCopyCredential
-
ValidateSecret
-
VerifyAllowedIndexOption
-
VerifyAllowedIndexOption160
-
VerifyColumnDataType
-
CheckOptionDuplication
-
ValidateFetchApproximate
-
ValidateSemanticIndexExternalModel
-