Class MsFuncProcTrigAnalysisLauncher
java.lang.Object
org.pgcodekeeper.core.parsers.antlr.base.launcher.AbstractAnalysisLauncher
org.pgcodekeeper.core.parsers.antlr.ms.launcher.MsFuncProcTrigAnalysisLauncher
Launcher for analyzing Microsoft SQL functions, procedures and triggers.
Handles SQL clauses, SELECT statements and expressions with dependency control.
-
Constructor Summary
ConstructorsConstructorDescriptionMsFuncProcTrigAnalysisLauncher(AbstractMsFunction stmt, TSQLParser.ExpressionContext ctx, String location, boolean isEnableFunctionBodiesDependencies) Creates analyzer for expressions in functions/procedures.MsFuncProcTrigAnalysisLauncher(AbstractMsFunction stmt, TSQLParser.Select_statementContext ctx, String location, boolean isEnableFunctionBodiesDependencies) Creates analyzer for SELECT statements in functions/procedures.MsFuncProcTrigAnalysisLauncher(AbstractMsFunction stmt, TSQLParser.Sql_clausesContext ctx, String location, boolean isEnableFunctionBodiesDependencies) Creates analyzer for SQL clauses in functions/procedures.MsFuncProcTrigAnalysisLauncher(MsTrigger stmt, TSQLParser.Sql_clausesContext ctx, String location, boolean isEnableFunctionBodiesDependencies) Creates analyzer for trigger SQL clauses. -
Method Summary
Modifier and TypeMethodDescriptionanalyze(org.antlr.v4.runtime.ParserRuleContext ctx, MetaContainer meta) Methods inherited from class org.pgcodekeeper.core.parsers.antlr.base.launcher.AbstractAnalysisLauncher
getReferences, getSchemaName, getStmt, launchAnalyze, setOffset, updateStmt
-
Constructor Details
-
MsFuncProcTrigAnalysisLauncher
public MsFuncProcTrigAnalysisLauncher(AbstractMsFunction stmt, TSQLParser.Sql_clausesContext ctx, String location, boolean isEnableFunctionBodiesDependencies) Creates analyzer for SQL clauses in functions/procedures.- Parameters:
stmt- the function/procedure statementctx- the SQL clauses contextlocation- source location identifierisEnableFunctionBodiesDependencies- controls function body dependency collection
-
MsFuncProcTrigAnalysisLauncher
public MsFuncProcTrigAnalysisLauncher(AbstractMsFunction stmt, TSQLParser.Select_statementContext ctx, String location, boolean isEnableFunctionBodiesDependencies) Creates analyzer for SELECT statements in functions/procedures.- Parameters:
stmt- the function/procedure statementctx- the SELECT statement contextlocation- source location identifierisEnableFunctionBodiesDependencies- controls function body dependency collection
-
MsFuncProcTrigAnalysisLauncher
public MsFuncProcTrigAnalysisLauncher(AbstractMsFunction stmt, TSQLParser.ExpressionContext ctx, String location, boolean isEnableFunctionBodiesDependencies) Creates analyzer for expressions in functions/procedures.- Parameters:
stmt- the function/procedure statementctx- the expression contextlocation- source location identifierisEnableFunctionBodiesDependencies- controls function body dependency collection
-
MsFuncProcTrigAnalysisLauncher
public MsFuncProcTrigAnalysisLauncher(MsTrigger stmt, TSQLParser.Sql_clausesContext ctx, String location, boolean isEnableFunctionBodiesDependencies) Creates analyzer for trigger SQL clauses.- Parameters:
stmt- the trigger statementctx- the SQL clauses contextlocation- source location identifierisEnableFunctionBodiesDependencies- controls function body dependency collection
-
-
Method Details
-
analyze
-