Class PgValueExprWithNmspc
java.lang.Object
org.pgcodekeeper.core.database.base.parser.antlr.AbstractExpr
org.pgcodekeeper.core.database.pg.parser.expr.PgAbstractExpr
org.pgcodekeeper.core.database.pg.parser.expr.PgAbstractExprWithNmspc<SQLParser.VexContext>
org.pgcodekeeper.core.database.pg.parser.expr.PgValueExprWithNmspc
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.database.pg.parser.expr.PgAbstractExprWithNmspc
addNamespaceVariable, addRawTableReference, addReference, declareNamespaceVar, findReferenceMethods inherited from class org.pgcodekeeper.core.database.pg.parser.expr.PgAbstractExpr
setFullAnalyzeMethods inherited from class org.pgcodekeeper.core.database.base.parser.antlr.AbstractExpr
addDependency, addDependency, addDependency, addReference, addVariable, getDependencies
-
Constructor Details
-
PgValueExprWithNmspc
Creates a ValueExprWithNmspc parser with meta container.- Parameters:
meta- the meta container with schema information
-
-
Method Details
-
analyze
Description copied from class:PgAbstractExprWithNmspcAnalyzes the given rule context.- Specified by:
analyzein classPgAbstractExprWithNmspc<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
-