Class ValueExprWithNmspc
java.lang.Object
org.pgcodekeeper.core.parsers.antlr.pg.expr.AbstractExpr
org.pgcodekeeper.core.parsers.antlr.pg.expr.AbstractExprWithNmspc<SQLParser.VexContext>
org.pgcodekeeper.core.parsers.antlr.pg.expr.ValueExprWithNmspc
For use with value expressions that have predefined namespace.
- Author:
- levsha_aa
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a ValueExprWithNmspc parser with meta container. -
Method Summary
Modifier and TypeMethodDescriptionAnalyzes a value expression context.Analyzes the given rule context.Analyzes a value expression rule context.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
-
Constructor Details
-
ValueExprWithNmspc
Creates a ValueExprWithNmspc parser with meta container.- Parameters:
meta- the meta container with schema information
-
-
Method Details
-
analyze
Description copied from class:AbstractExprWithNmspcAnalyzes the given rule context.- Specified by:
analyzein classAbstractExprWithNmspc<SQLParser.VexContext>- Parameters:
vex- the parser rule context to analyze- Returns:
- list of modifiable pairs containing analyzed results
-
analyze
Analyzes a value expression context.- Parameters:
vex- the value expression context to analyze- Returns:
- list containing a single pair with expression name and type
-
analyze
Analyzes a value expression rule context.- Parameters:
vex- the value expression rule context to analyze- Returns:
- list containing a single pair with expression name and type
-