|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of TSourceToken in gudusoft.gsqlparser |
---|
Fields in gudusoft.gsqlparser declared as TSourceToken | |
---|---|
TSourceToken |
TSourceToken.alternativeToken
|
Methods in gudusoft.gsqlparser that return TSourceToken | |
---|---|
TSourceToken |
TSourceTokenList.get(int index)
|
TSourceToken |
TSourceToken.getAlternativeToken()
If you find a start token of parse tree node has an alternativetoken, |
TSourceToken |
TSourceToken.getReplaceToken()
|
TSourceToken |
TSourceTokenList.next()
|
TSourceToken |
TSourceTokenList.nextsolidtoken(int ptokenpos,
int pstep,
boolean pcmtissolidtoken)
Find solid token start from ptoken, distance is pstep. |
TSourceToken |
TSourceTokenList.nextsolidtoken(TSourceToken ptoken,
int pstep,
boolean pcmtissolidtoken)
Find solid token start from ptoken, distance is pstep. |
TSourceToken |
TSourceToken.searchToken(int targetTokenCode,
int range)
|
TSourceToken |
TSourceTokenList.searchToken(int targetTokenCode,
java.lang.String targetTokenText,
TSourceToken startToken,
int range)
|
TSourceToken |
TSourceToken.searchToken(java.lang.String targetTokenText,
int range)
|
TSourceToken |
TSourceTokenList.solidtokenbefore(int pStart)
Search solid token before pStart. |
Methods in gudusoft.gsqlparser with parameters of type TSourceToken | |
---|---|
void |
TSourceTokenList.add(int index,
TSourceToken st)
|
void |
TSourceTokenList.add(TSourceToken st)
|
int |
TSourceTokenList.indexOf(TSourceToken pst)
|
TSourceToken |
TSourceTokenList.nextsolidtoken(TSourceToken ptoken,
int pstep,
boolean pcmtissolidtoken)
Find solid token start from ptoken, distance is pstep. |
void |
TSourceTokenList.remove(TSourceToken st)
|
TSourceToken |
TSourceTokenList.searchToken(int targetTokenCode,
java.lang.String targetTokenText,
TSourceToken startToken,
int range)
|
void |
TSourceToken.setAlternativeToken(TSourceToken alternativeToken)
|
void |
TSourceToken.setReplaceToken(TSourceToken replaceToken)
|
Uses of TSourceToken in gudusoft.gsqlparser.nodes |
---|
Fields in gudusoft.gsqlparser.nodes declared as TSourceToken | |
---|---|
TSourceToken |
TColumnReference.sourcetoken
|
TSourceToken |
TTableReference.sourcetoken
|
TSourceToken |
TDummy.st1
|
TSourceToken |
TDummy.st2
|
Methods in gudusoft.gsqlparser.nodes that return TSourceToken | |
---|---|
TSourceToken |
TAliasClause.getAsToken()
|
TSourceToken |
TObjectName.getAtsign()
|
TSourceToken |
TTrimArgument.getBoth_trailing_leading()
|
TSourceToken |
TObjectName.getColumnToken()
|
TSourceToken |
TExpression.getComparisonOperator()
|
TSourceToken |
TObjectName.getDatabaseToken()
|
TSourceToken |
TDeleteSqlNode.getDeleteToken()
|
TSourceToken |
TIndirection.getEndToken()
|
TSourceToken |
TPTNodeList.getEndToken()
|
TSourceToken |
TParseTreeNode.getEndToken()
|
TSourceToken |
TParseTreeNodeList.getEndToken()
|
TSourceToken |
TResultColumnList.getEndToken()
|
TSourceToken |
TObjectName.getExclamationmark()
|
TSourceToken |
TFunctionCall.getExtractArg()
|
TSourceToken |
TInsertSqlNode.getIgnore()
|
TSourceToken |
TInsertSqlNode.getInsertToken()
|
TSourceToken |
TObjectName.getMethodToken()
|
TSourceToken |
TAlterTableOption.getMySQLIndexTypeToken()
|
TSourceToken |
TColumnReference.getObjectToken()
|
TSourceToken |
TObjectName.getObjectToken()
|
TSourceToken |
TRelationExpr.getOnly()
|
TSourceToken |
TExpression.getOperatorToken()
Operator token used in expression such as +,-,*,/ and etc |
TSourceToken |
TObjectName.getPartToken()
|
TSourceToken |
TInsertSqlNode.getPriority_delayed()
|
TSourceToken |
TObjectName.getPropertyToken()
|
TSourceToken |
TExpression.getQuantifier()
one of the following quantifier keywords: SOME, ANY, ALL |
TSourceToken |
TObjectName.getSchemaToken()
|
TSourceToken |
TSelectSqlNode.getSelectToken()
|
TSourceToken |
TObjectName.getServerToken()
|
TSourceToken |
TConstant.getSign()
|
TSourceToken |
TObjectName.getSortType()
When this object is column in primary key(column,...), unique key(column,...) in sql server |
TSourceToken |
TDatatypeAttribute.getSourceToken()
|
TSourceToken |
TExpression.getSourcetokenOperand()
|
TSourceToken |
TIndirection.getStartToken()
|
TSourceToken |
TPTNodeList.getStartToken()
|
TSourceToken |
TParseTreeNode.getStartToken()
|
TSourceToken |
TParseTreeNodeList.getStartToken()
|
TSourceToken |
TResultColumnList.getStartToken()
In teradata, the whole result column can be null, so this result column should be ingored when get start token in result column list. |
TSourceToken |
TOpenDatasource.getTableToken()
|
TSourceToken |
TMySQLIndexStorageType.getTypeToken()
|
TSourceToken |
TUpdateSqlNode.getUpdateToken()
|
TSourceToken |
TConstant.getvalueToken()
|
Methods in gudusoft.gsqlparser.nodes with parameters of type TSourceToken | |
---|---|
TColumnReference |
TNodeFactory.createColumnReference(TSourceToken objectname)
|
TParseTreeNode |
TNodeFactory.createConstant(TSourceToken st,
ENodeType ent)
|
TObjectName |
TNodeFactory.createObjectName(TSourceToken schema,
TSourceToken object,
TSourceToken part)
create a database object with schema, object and part name, type of this object will be determined later in the context where it appears. |
TObjectName |
TNodeFactory.createObjectNameWithObject(TSourceToken object)
|
TObjectName |
TNodeFactory.createObjectNameWithPart(TSourceToken part)
|
TObjectName |
TNodeFactory.createObjectNameWithPartAndObject(TSourceToken object,
TSourceToken part)
|
TParseTreeNode |
TNodeFactory.createSimpleExpression(TSourceToken st)
|
boolean |
TObjectName.isAttributeNameInObjectName(TSourceToken leftparen,
TSourceToken rightparen)
|
void |
TAliasClause.setAsToken(TSourceToken asToken)
|
void |
TObjectName.setAtsign(TSourceToken atsign)
|
void |
TExpression.setComparisonOperator(TSourceToken comparisonOperator)
|
void |
TOpenDatasource.setDatabaseToken(TSourceToken databaseToken)
|
void |
TDeleteSqlNode.setDeleteToken(TSourceToken deleteToken)
|
void |
TParseTreeNode.setEndToken(TSourceToken endToken)
|
void |
TObjectName.setExclamationmark(TSourceToken exclamationmark)
|
void |
TFunctionCall.setExtractArg(TSourceToken extractArg)
|
void |
TInsertSqlNode.setIgnore(TSourceToken ignore)
|
void |
TCreateIndexSqlNode.setIndexTypeViaToken(TSourceToken st)
|
void |
TInsertSqlNode.setInsertToken(TSourceToken insertToken)
|
void |
TAlterTableOption.setMySQLIndexTypeToken(TSourceToken mySQLIndexTypeToken)
|
void |
TRelationExpr.setOnly(TSourceToken only)
|
void |
TExpression.setOperatorToken(TSourceToken operatorToken)
|
void |
TInsertSqlNode.setPriority_delayed(TSourceToken priority_delayed)
|
void |
TObjectName.setPropertyToken(TSourceToken propertyToken)
|
void |
TExpression.setQuantifier(TSourceToken quantifier)
|
void |
TOpenDatasource.setSchemaToken(TSourceToken schemaToken)
|
void |
TSelectSqlNode.setSelectToken(TSourceToken selectToken)
|
void |
TConstant.setSign(TSourceToken sign)
|
void |
TObjectName.setSortType(TSourceToken sortType)
|
void |
TOrderByItem.setSortTypeByToken(TSourceToken st)
|
void |
TDatatypeAttribute.setSourceToken(TSourceToken sourceToken)
|
void |
TExpression.setSourcetokenOperand(TSourceToken sourcetokenOperand)
|
void |
TParseTreeNode.setStartToken(TSourceToken startToken)
|
void |
TFromTable.setTableonly(TSourceToken tableonly)
|
void |
TOpenDatasource.setTableToken(TSourceToken tableToken)
|
void |
TUpdateSqlNode.setUpdateToken(TSourceToken updateToken)
|
void |
TConstant.setvalueToken(TSourceToken st)
|
Uses of TSourceToken in gudusoft.gsqlparser.nodes.mdx |
---|
Methods in gudusoft.gsqlparser.nodes.mdx that return TSourceToken | |
---|---|
TSourceToken |
TMdxFloatConstNode.getDoubleToken()
|
TSourceToken |
TMdxIntegerConstNode.getIntToken()
|
TSourceToken |
TMdxAxisNode.getName_OR_Number()
|
TSourceToken |
TMdxBinOpNode.getOperator()
|
TSourceToken |
TMdxUnaryOpNode.getOperator()
|
TSourceToken |
TMdxStringConstNode.getStringToken()
|
Uses of TSourceToken in gudusoft.gsqlparser.pp.mediator.type |
---|
Methods in gudusoft.gsqlparser.pp.mediator.type that return TSourceToken | |
---|---|
TSourceToken |
KeywordAlignMediator.IndentLevelItem.getToken()
|
Methods in gudusoft.gsqlparser.pp.mediator.type with parameters of type TSourceToken | |
---|---|
void |
KeywordAlignMediator.addIndentLevelItem(TSourceToken token,
int curIndentLen)
save the sourceotoken indent information for current indent level |
void |
KeywordAlignMediator.IndentLevelItem.setToken(TSourceToken token)
|
Constructors in gudusoft.gsqlparser.pp.mediator.type with parameters of type TSourceToken | |
---|---|
KeywordAlignMediator.IndentLevelItem(int level,
int indentLen,
TSourceToken token)
|
Uses of TSourceToken in gudusoft.gsqlparser.pp.output |
---|
Methods in gudusoft.gsqlparser.pp.output with parameters of type TSourceToken | |
---|---|
java.lang.String |
OutputConfig.renderHighlightingElement(TSourceToken token)
|
Uses of TSourceToken in gudusoft.gsqlparser.pp.output.html |
---|
Methods in gudusoft.gsqlparser.pp.output.html with parameters of type TSourceToken | |
---|---|
java.lang.String |
HtmlOutputConfig.renderHighlightingElement(TSourceToken token)
|
java.lang.String |
HtmlRenderUtil.renderToken(TSourceToken token)
|
Uses of TSourceToken in gudusoft.gsqlparser.pp.print |
---|
Methods in gudusoft.gsqlparser.pp.print with parameters of type TSourceToken | |
---|---|
void |
IPrinter.print(TSourceToken t)
print the source token |
void |
TextPrinter.print(TSourceToken t)
|
Uses of TSourceToken in gudusoft.gsqlparser.pp.processor.type.comm |
---|
Methods in gudusoft.gsqlparser.pp.processor.type.comm with parameters of type TSourceToken | |
---|---|
static void |
ExpressionProcessor.processParenthesesNodeInSubQuery(GFmtOpt option,
TCustomSqlStatement sql,
TSourceToken leftParenthesis,
TSourceToken rightParenthsis)
|
Uses of TSourceToken in gudusoft.gsqlparser.pp.processor.type.select |
---|
Methods in gudusoft.gsqlparser.pp.processor.type.select that return TSourceToken | |
---|---|
static TSourceToken |
JoinOnProcessor.getBeginJoinToken(TJoinItem lcitem)
|
Uses of TSourceToken in gudusoft.gsqlparser.pp.stmtformatter |
---|
Methods in gudusoft.gsqlparser.pp.stmtformatter with parameters of type TSourceToken | |
---|---|
static boolean |
FormatterFactory.isNotNeedFormat(TSourceToken t)
|
static void |
FormatterFactory.processBlockStmt(GFmtOpt opt,
TMssqlBlock stmt,
TSourceToken ifToken)
|
Uses of TSourceToken in gudusoft.gsqlparser.pp.stmtformatter.type.comm |
---|
Methods in gudusoft.gsqlparser.pp.stmtformatter.type.comm that return TSourceToken | |
---|---|
TSourceToken |
AllStmtsFormatter.SourceTokenVisitor.visit(TSourceToken token)
|
Methods in gudusoft.gsqlparser.pp.stmtformatter.type.comm with parameters of type TSourceToken | |
---|---|
TSourceToken |
AllStmtsFormatter.SourceTokenVisitor.visit(TSourceToken token)
|
Uses of TSourceToken in gudusoft.gsqlparser.pp.utils |
---|
Fields in gudusoft.gsqlparser.pp.utils declared as TSourceToken | |
---|---|
static TSourceToken |
SourceTokenConstant.EMPTY
empty source token |
static TSourceToken |
SourceTokenConstant.RETURN2
return source token |
static TSourceToken |
SourceTokenConstant.WHITESPACE
space source token |
Methods in gudusoft.gsqlparser.pp.utils that return TSourceToken | |
---|---|
static TSourceToken |
SourceTokenSearcher.backforwardSearch(TSourceToken token,
int backsearchSize,
java.lang.String text)
backward search the source token |
static TSourceToken |
SourceTokenOperator.createNoFormatFlagToken()
|
static TSourceToken |
SourceTokenOperator.createReturnSourceToken()
|
static TSourceToken |
SourceTokenOperator.createWhitespaceSourceToken(int length)
create the white space source token |
static TSourceToken |
SourceTokenSearcher.firstNotWhitespaceAndReturnToken(TSourceTokenList list,
int startPos,
int endPos)
get first token which is not whitespace and return token |
static TSourceToken |
SourceTokenSearcher.firstSelectNotWhitespaceAndReturnToken(TSourceTokenList list,
int startPos,
java.lang.String text)
forward search the token which is the first not whitespace or return token, and its value is a fixed text |
static TSourceToken |
SourceTokenSearcher.forwardSearch(TSourceToken token,
int forwardSearchSize,
java.lang.String text)
forward search the source token |
static TSourceToken |
SourceTokenSearcher.lastNotWhitespaceAndReturnToken(TSourceTokenList list,
int endPos)
get last token which is not whitespace and return token |
static TSourceToken |
SourceTokenSearcher.lastNotWhitespaceAndReturnToken(TSourceTokenList list,
int startPos,
int endPos)
get last token which is not whitespace and return token |
static TSourceToken |
SourceTokenSearcher.lastSelectedNotWhitespaceAndReturnToken(TSourceTokenList list,
int endPos,
java.lang.String text)
backward search the token which is the first not whitespace or return token, and its value is a fixed text |
static TSourceToken |
SourceTokenSearcher.lastSelectedNotWhitespaceAndReturnToken(TSourceToken token,
java.lang.String text)
backward search the token which is the first not whitespace or return token, and its value is a fixed text |
Methods in gudusoft.gsqlparser.pp.utils with parameters of type TSourceToken | |
---|---|
static void |
SourceTokenOperator.addAfter(GFmtOpt opt,
TSourceToken targetToken,
TSourceToken needAddToken)
|
static void |
SourceTokenOperator.addBefore(GFmtOpt opt,
TSourceToken targetToken,
TSourceToken needAddToken)
insert the source token before the target source token |
static TSourceToken |
SourceTokenSearcher.backforwardSearch(TSourceToken token,
int backsearchSize,
java.lang.String text)
backward search the source token |
static int |
SourceTokenOperator.curColumnNumberVT(TSourceToken token)
calcaulate the text length from a given position to the line start. |
static int |
SourceTokenOperator.curIndentLenVT(TSourceToken token)
calculate the current indent length VT is the abbr for "virtual token" (which contains before tokens, after tokens and replace token) |
static TSourceToken |
SourceTokenSearcher.forwardSearch(TSourceToken token,
int forwardSearchSize,
java.lang.String text)
forward search the source token |
static boolean |
SourceTokenSearcher.isNewLineToken(TSourceToken token)
|
static boolean |
SourceTokenSearcher.isSimpleComment(TSourceToken token)
|
static TSourceToken |
SourceTokenSearcher.lastSelectedNotWhitespaceAndReturnToken(TSourceToken token,
java.lang.String text)
backward search the token which is the first not whitespace or return token, and its value is a fixed text |
static void |
SourceTokenOperator.removeAllBeforeTokenVT(GFmtOpt opt,
TSourceToken targetToken)
remove all source token in the before source token list VT is the abbr for "virtual token" (that this method will operates before tokens, after tokens and replace token) |
static void |
SourceTokenOperator.removeThisToken(TSourceToken token)
|
static void |
SourceTokenOperator.removeWhitespaceAndReturnFormBeforeAndAfter(GFmtOpt opt,
TSourceToken token)
remove the white space and the return token before this token and after this token |
static int |
SourceTokenOperator.removeWhitespaceAndReturnFromEnd(GFmtOpt opt,
TSourceToken token)
remove the white space and the return token from the end |
Uses of TSourceToken in gudusoft.gsqlparser.stmt |
---|
Methods in gudusoft.gsqlparser.stmt that return TSourceToken | |
---|---|
TSourceToken |
TDeleteSqlStatement.getDeleteToken()
|
TSourceToken |
TInsertSqlStatement.getIgnore()
|
TSourceToken |
TInsertSqlStatement.getInsertToken()
|
TSourceToken |
TInsertSqlStatement.getPriority_delayed()
|
TSourceToken |
TSelectSqlStatement.getSelectToken()
|
TSourceToken |
TUpdateSqlStatement.getUpdateToken()
|
Methods in gudusoft.gsqlparser.stmt with parameters of type TSourceToken | |
---|---|
void |
TDeleteSqlStatement.setDeleteToken(TSourceToken deleteToken)
|
void |
TInsertSqlStatement.setInsertToken(TSourceToken insertToken)
|
void |
TSelectSqlStatement.setSelectToken(TSourceToken selectToken)
|
void |
TUpdateSqlStatement.setUpdateToken(TSourceToken updateToken)
|
Uses of TSourceToken in gudusoft.gsqlparser.stmt.mssql |
---|
Methods in gudusoft.gsqlparser.stmt.mssql that return TSourceToken | |
---|---|
TSourceToken |
TMssqlCreateTriggerUpdateColumn.getAnd_or_nullToken()
|
TSourceToken |
TMssqlCreateTriggerUpdateColumn.getNotToken()
|
TSourceToken |
TMssqlCommit.getTrans_or_work()
|
TSourceToken |
TMssqlRollback.getTrans_or_work()
|
TSourceToken |
TMssqlSaveTran.getTrans_or_work()
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |