Class Statements<T extends org.antlr.v4.runtime.ParserRuleContext>
java.lang.Object
org.pgcodekeeper.core.parsers.antlr.pg.expr.AbstractExpr
org.pgcodekeeper.core.parsers.antlr.pg.expr.AbstractExprWithNmspc<T>
org.pgcodekeeper.core.parsers.antlr.pg.expr.Statements<T>
- Type Parameters:
T- the type of parser rule context this statement processor handles
- Direct Known Subclasses:
Sql,SqlFunctionBody
public abstract class Statements<T extends org.antlr.v4.runtime.ParserRuleContext>
extends AbstractExprWithNmspc<T>
Abstract base class for statement parsers with namespace support.
Handles common data statement parsing functionality.
-
Method Summary
Methods inherited from class org.pgcodekeeper.core.parsers.antlr.pg.expr.AbstractExprWithNmspc
addNamespaceVariable, addRawTableReference, addReference, declareNamespaceVarMethods inherited from class org.pgcodekeeper.core.parsers.antlr.pg.expr.AbstractExpr
getDepcies, setFullAnaLyze
-
Method Details
-
analyze
Description copied from class:AbstractExprWithNmspcAnalyzes the given rule context.- Specified by:
analyzein classAbstractExprWithNmspc<T extends org.antlr.v4.runtime.ParserRuleContext>- Parameters:
ctx- the parser rule context to analyze- Returns:
- list of modifiable pairs containing analyzed results
-
data
Analyzes and processes a data statement.- Parameters:
data- the data statement context to analyze- Returns:
- list of modified pairs containing analyzed results
-