Commit 8b5112e6 authored by Fred Eisele's avatar Fred Eisele
Browse files

checkpoint on instance literal

parent 964ffedb
// Generated from /home/fred/.boot/cache/tmp/home/fred/github/fql2/gen_src/catdata/aql/grammar/8mw/-ru88jt/AqlLexerRules.g4 by ANTLR 4.7
// Generated from /home/fred/.boot/cache/tmp/home/fred/github/fql2/gen_src/catdata/aql/grammar/bvf/-ru88jt/AqlLexerRules.g4 by ANTLR 4.7
package catdata.aql.grammar;
import org.antlr.v4.runtime.Lexer;
import org.antlr.v4.runtime.CharStream;
......
This diff is collapsed.
// Generated from /home/fred/.boot/cache/tmp/home/fred/github/fql2/gen_src/catdata/aql/grammar/8mw/-ru88jt/AqlParser.g4 by ANTLR 4.7
// Generated from /home/fred/.boot/cache/tmp/home/fred/github/fql2/gen_src/catdata/aql/grammar/bvf/-ru88jt/AqlParser.g4 by ANTLR 4.7
package catdata.aql.grammar;
import org.antlr.v4.runtime.ParserRuleContext;
......@@ -1276,13 +1276,13 @@ public class AqlParserBaseListener implements AqlParserListener {
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterSchemaPath_Dot(AqlParser.SchemaPath_DotContext ctx) { }
@Override public void enterSchemaPath_Dotted(AqlParser.SchemaPath_DottedContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitSchemaPath_Dot(AqlParser.SchemaPath_DotContext ctx) { }
@Override public void exitSchemaPath_Dotted(AqlParser.SchemaPath_DottedContext ctx) { }
/**
* {@inheritDoc}
*
......@@ -1408,13 +1408,13 @@ public class AqlParserBaseListener implements AqlParserListener {
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterEvalSchemaFn_Dot(AqlParser.EvalSchemaFn_DotContext ctx) { }
@Override public void enterEvalSchemaFn_Dotted(AqlParser.EvalSchemaFn_DottedContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitEvalSchemaFn_Dot(AqlParser.EvalSchemaFn_DotContext ctx) { }
@Override public void exitEvalSchemaFn_Dotted(AqlParser.EvalSchemaFn_DottedContext ctx) { }
/**
* {@inheritDoc}
*
......@@ -1955,6 +1955,30 @@ public class AqlParserBaseListener implements AqlParserListener {
* <p>The default implementation does nothing.</p>
*/
@Override public void exitInstanceCoProdPair(AqlParser.InstanceCoProdPairContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterInstanceColimitNode(AqlParser.InstanceColimitNodeContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitInstanceColimitNode(AqlParser.InstanceColimitNodeContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterInstanceColimitEdge(AqlParser.InstanceColimitEdgeContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitInstanceColimitEdge(AqlParser.InstanceColimitEdgeContext ctx) { }
/**
* {@inheritDoc}
*
......@@ -1967,6 +1991,18 @@ public class AqlParserBaseListener implements AqlParserListener {
* <p>The default implementation does nothing.</p>
*/
@Override public void exitInstanceLiteralSection(AqlParser.InstanceLiteralSectionContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterInstanceLiteralGen(AqlParser.InstanceLiteralGenContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitInstanceLiteralGen(AqlParser.InstanceLiteralGenContext ctx) { }
/**
* {@inheritDoc}
*
......@@ -2140,13 +2176,49 @@ public class AqlParserBaseListener implements AqlParserListener {
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterInstancePath(AqlParser.InstancePathContext ctx) { }
@Override public void enterInstancePath_Literal(AqlParser.InstancePath_LiteralContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitInstancePath_Literal(AqlParser.InstancePath_LiteralContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitInstancePath(AqlParser.InstancePathContext ctx) { }
@Override public void enterInstancePath_ArrowId(AqlParser.InstancePath_ArrowIdContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitInstancePath_ArrowId(AqlParser.InstancePath_ArrowIdContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterInstancePath_Param(AqlParser.InstancePath_ParamContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitInstancePath_Param(AqlParser.InstancePath_ParamContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterInstancePath_Dotted(AqlParser.InstancePath_DottedContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitInstancePath_Dotted(AqlParser.InstancePath_DottedContext ctx) { }
/**
* {@inheritDoc}
*
......@@ -2183,6 +2255,18 @@ public class AqlParserBaseListener implements AqlParserListener {
* <p>The default implementation does nothing.</p>
*/
@Override public void exitInstanceQuotientSection(AqlParser.InstanceQuotientSectionContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterInstanceChaseSection(AqlParser.InstanceChaseSectionContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitInstanceChaseSection(AqlParser.InstanceChaseSectionContext ctx) { }
/**
* {@inheritDoc}
*
......
// Generated from /home/fred/.boot/cache/tmp/home/fred/github/fql2/gen_src/catdata/aql/grammar/8mw/-ru88jt/AqlParser.g4 by ANTLR 4.7
// Generated from /home/fred/.boot/cache/tmp/home/fred/github/fql2/gen_src/catdata/aql/grammar/bvf/-ru88jt/AqlParser.g4 by ANTLR 4.7
package catdata.aql.grammar;
import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor;
......@@ -752,7 +752,7 @@ public class AqlParserBaseVisitor<T> extends AbstractParseTreeVisitor<T> impleme
* <p>The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitSchemaPath_Dot(AqlParser.SchemaPath_DotContext ctx) { return visitChildren(ctx); }
@Override public T visitSchemaPath_Dotted(AqlParser.SchemaPath_DottedContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
......@@ -829,7 +829,7 @@ public class AqlParserBaseVisitor<T> extends AbstractParseTreeVisitor<T> impleme
* <p>The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitEvalSchemaFn_Dot(AqlParser.EvalSchemaFn_DotContext ctx) { return visitChildren(ctx); }
@Override public T visitEvalSchemaFn_Dotted(AqlParser.EvalSchemaFn_DottedContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
......@@ -1145,6 +1145,20 @@ public class AqlParserBaseVisitor<T> extends AbstractParseTreeVisitor<T> impleme
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitInstanceCoProdPair(AqlParser.InstanceCoProdPairContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
* <p>The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitInstanceColimitNode(AqlParser.InstanceColimitNodeContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
* <p>The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitInstanceColimitEdge(AqlParser.InstanceColimitEdgeContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
......@@ -1152,6 +1166,13 @@ public class AqlParserBaseVisitor<T> extends AbstractParseTreeVisitor<T> impleme
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitInstanceLiteralSection(AqlParser.InstanceLiteralSectionContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
* <p>The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitInstanceLiteralGen(AqlParser.InstanceLiteralGenContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
......@@ -1256,7 +1277,28 @@ public class AqlParserBaseVisitor<T> extends AbstractParseTreeVisitor<T> impleme
* <p>The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitInstancePath(AqlParser.InstancePathContext ctx) { return visitChildren(ctx); }
@Override public T visitInstancePath_Literal(AqlParser.InstancePath_LiteralContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
* <p>The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitInstancePath_ArrowId(AqlParser.InstancePath_ArrowIdContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
* <p>The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitInstancePath_Param(AqlParser.InstancePath_ParamContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
* <p>The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitInstancePath_Dotted(AqlParser.InstancePath_DottedContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
......@@ -1278,6 +1320,13 @@ public class AqlParserBaseVisitor<T> extends AbstractParseTreeVisitor<T> impleme
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitInstanceQuotientSection(AqlParser.InstanceQuotientSectionContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
* <p>The default implementation returns the result of calling
* {@link #visitChildren} on {@code ctx}.</p>
*/
@Override public T visitInstanceChaseSection(AqlParser.InstanceChaseSectionContext ctx) { return visitChildren(ctx); }
/**
* {@inheritDoc}
*
......
// Generated from /home/fred/.boot/cache/tmp/home/fred/github/fql2/gen_src/catdata/aql/grammar/8mw/-ru88jt/AqlParser.g4 by ANTLR 4.7
// Generated from /home/fred/.boot/cache/tmp/home/fred/github/fql2/gen_src/catdata/aql/grammar/bvf/-ru88jt/AqlParser.g4 by ANTLR 4.7
package catdata.aql.grammar;
import org.antlr.v4.runtime.tree.ParseTreeListener;
......@@ -1124,17 +1124,17 @@ public interface AqlParserListener extends ParseTreeListener {
*/
void exitSchemaPath_Paren(AqlParser.SchemaPath_ParenContext ctx);
/**
* Enter a parse tree produced by the {@code SchemaPath_Dot}
* Enter a parse tree produced by the {@code SchemaPath_Dotted}
* labeled alternative in {@link AqlParser#schemaPath}.
* @param ctx the parse tree
*/
void enterSchemaPath_Dot(AqlParser.SchemaPath_DotContext ctx);
void enterSchemaPath_Dotted(AqlParser.SchemaPath_DottedContext ctx);
/**
* Exit a parse tree produced by the {@code SchemaPath_Dot}
* Exit a parse tree produced by the {@code SchemaPath_Dotted}
* labeled alternative in {@link AqlParser#schemaPath}.
* @param ctx the parse tree
*/
void exitSchemaPath_Dot(AqlParser.SchemaPath_DotContext ctx);
void exitSchemaPath_Dotted(AqlParser.SchemaPath_DottedContext ctx);
/**
* Enter a parse tree produced by {@link AqlParser#schemaArrowId}.
* @param ctx the parse tree
......@@ -1246,17 +1246,17 @@ public interface AqlParserListener extends ParseTreeListener {
*/
void exitEvalSchemaFn_Paren(AqlParser.EvalSchemaFn_ParenContext ctx);
/**
* Enter a parse tree produced by the {@code EvalSchemaFn_Dot}
* Enter a parse tree produced by the {@code EvalSchemaFn_Dotted}
* labeled alternative in {@link AqlParser#evalSchemaFn}.
* @param ctx the parse tree
*/
void enterEvalSchemaFn_Dot(AqlParser.EvalSchemaFn_DotContext ctx);
void enterEvalSchemaFn_Dotted(AqlParser.EvalSchemaFn_DottedContext ctx);
/**
* Exit a parse tree produced by the {@code EvalSchemaFn_Dot}
* Exit a parse tree produced by the {@code EvalSchemaFn_Dotted}
* labeled alternative in {@link AqlParser#evalSchemaFn}.
* @param ctx the parse tree
*/
void exitEvalSchemaFn_Dot(AqlParser.EvalSchemaFn_DotContext ctx);
void exitEvalSchemaFn_Dotted(AqlParser.EvalSchemaFn_DottedContext ctx);
/**
* Enter a parse tree produced by {@link AqlParser#schemaGen}.
* @param ctx the parse tree
......@@ -1777,6 +1777,26 @@ public interface AqlParserListener extends ParseTreeListener {
* @param ctx the parse tree
*/
void exitInstanceCoProdPair(AqlParser.InstanceCoProdPairContext ctx);
/**
* Enter a parse tree produced by {@link AqlParser#instanceColimitNode}.
* @param ctx the parse tree
*/
void enterInstanceColimitNode(AqlParser.InstanceColimitNodeContext ctx);
/**
* Exit a parse tree produced by {@link AqlParser#instanceColimitNode}.
* @param ctx the parse tree
*/
void exitInstanceColimitNode(AqlParser.InstanceColimitNodeContext ctx);
/**
* Enter a parse tree produced by {@link AqlParser#instanceColimitEdge}.
* @param ctx the parse tree
*/
void enterInstanceColimitEdge(AqlParser.InstanceColimitEdgeContext ctx);
/**
* Exit a parse tree produced by {@link AqlParser#instanceColimitEdge}.
* @param ctx the parse tree
*/
void exitInstanceColimitEdge(AqlParser.InstanceColimitEdgeContext ctx);
/**
* Enter a parse tree produced by {@link AqlParser#instanceLiteralSection}.
* @param ctx the parse tree
......@@ -1787,6 +1807,16 @@ public interface AqlParserListener extends ParseTreeListener {
* @param ctx the parse tree
*/
void exitInstanceLiteralSection(AqlParser.InstanceLiteralSectionContext ctx);
/**
* Enter a parse tree produced by {@link AqlParser#instanceLiteralGen}.
* @param ctx the parse tree
*/
void enterInstanceLiteralGen(AqlParser.InstanceLiteralGenContext ctx);
/**
* Exit a parse tree produced by {@link AqlParser#instanceLiteralGen}.
* @param ctx the parse tree
*/
void exitInstanceLiteralGen(AqlParser.InstanceLiteralGenContext ctx);
/**
* Enter a parse tree produced by {@link AqlParser#instanceImportJdbcSection}.
* @param ctx the parse tree
......@@ -1928,15 +1958,53 @@ public interface AqlParserListener extends ParseTreeListener {
*/
void exitInstanceLiteralValue(AqlParser.InstanceLiteralValueContext ctx);
/**
* Enter a parse tree produced by {@link AqlParser#instancePath}.
* Enter a parse tree produced by the {@code InstancePath_Literal}
* labeled alternative in {@link AqlParser#instancePath}.
* @param ctx the parse tree
*/
void enterInstancePath_Literal(AqlParser.InstancePath_LiteralContext ctx);
/**
* Exit a parse tree produced by the {@code InstancePath_Literal}
* labeled alternative in {@link AqlParser#instancePath}.
* @param ctx the parse tree
*/
void enterInstancePath(AqlParser.InstancePathContext ctx);
void exitInstancePath_Literal(AqlParser.InstancePath_LiteralContext ctx);
/**
* Exit a parse tree produced by {@link AqlParser#instancePath}.
* Enter a parse tree produced by the {@code InstancePath_ArrowId}
* labeled alternative in {@link AqlParser#instancePath}.
* @param ctx the parse tree
*/
void exitInstancePath(AqlParser.InstancePathContext ctx);
void enterInstancePath_ArrowId(AqlParser.InstancePath_ArrowIdContext ctx);
/**
* Exit a parse tree produced by the {@code InstancePath_ArrowId}
* labeled alternative in {@link AqlParser#instancePath}.
* @param ctx the parse tree
*/
void exitInstancePath_ArrowId(AqlParser.InstancePath_ArrowIdContext ctx);
/**
* Enter a parse tree produced by the {@code InstancePath_Param}
* labeled alternative in {@link AqlParser#instancePath}.
* @param ctx the parse tree
*/
void enterInstancePath_Param(AqlParser.InstancePath_ParamContext ctx);
/**
* Exit a parse tree produced by the {@code InstancePath_Param}
* labeled alternative in {@link AqlParser#instancePath}.
* @param ctx the parse tree
*/
void exitInstancePath_Param(AqlParser.InstancePath_ParamContext ctx);
/**
* Enter a parse tree produced by the {@code InstancePath_Dotted}
* labeled alternative in {@link AqlParser#instancePath}.
* @param ctx the parse tree
*/
void enterInstancePath_Dotted(AqlParser.InstancePath_DottedContext ctx);
/**
* Exit a parse tree produced by the {@code InstancePath_Dotted}
* labeled alternative in {@link AqlParser#instancePath}.
* @param ctx the parse tree
*/
void exitInstancePath_Dotted(AqlParser.InstancePath_DottedContext ctx);
/**
* Enter a parse tree produced by {@link AqlParser#instanceArrowId}.
* @param ctx the parse tree
......@@ -1967,6 +2035,16 @@ public interface AqlParserListener extends ParseTreeListener {
* @param ctx the parse tree
*/
void exitInstanceQuotientSection(AqlParser.InstanceQuotientSectionContext ctx);
/**
* Enter a parse tree produced by {@link AqlParser#instanceChaseSection}.
* @param ctx the parse tree
*/
void enterInstanceChaseSection(AqlParser.InstanceChaseSectionContext ctx);
/**
* Exit a parse tree produced by {@link AqlParser#instanceChaseSection}.
* @param ctx the parse tree
*/
void exitInstanceChaseSection(AqlParser.InstanceChaseSectionContext ctx);
/**
* Enter a parse tree produced by {@link AqlParser#instanceRandomSection}.
* @param ctx the parse tree
......
// Generated from /home/fred/.boot/cache/tmp/home/fred/github/fql2/gen_src/catdata/aql/grammar/8mw/-ru88jt/AqlParser.g4 by ANTLR 4.7
// Generated from /home/fred/.boot/cache/tmp/home/fred/github/fql2/gen_src/catdata/aql/grammar/bvf/-ru88jt/AqlParser.g4 by ANTLR 4.7
package catdata.aql.grammar;
import org.antlr.v4.runtime.tree.ParseTreeVisitor;
......@@ -674,12 +674,12 @@ public interface AqlParserVisitor<T> extends ParseTreeVisitor<T> {
*/
T visitSchemaPath_Paren(AqlParser.SchemaPath_ParenContext ctx);
/**
* Visit a parse tree produced by the {@code SchemaPath_Dot}
* Visit a parse tree produced by the {@code SchemaPath_Dotted}
* labeled alternative in {@link AqlParser#schemaPath}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSchemaPath_Dot(AqlParser.SchemaPath_DotContext ctx);
T visitSchemaPath_Dotted(AqlParser.SchemaPath_DottedContext ctx);
/**
* Visit a parse tree produced by {@link AqlParser#schemaArrowId}.
* @param ctx the parse tree
......@@ -746,12 +746,12 @@ public interface AqlParserVisitor<T> extends ParseTreeVisitor<T> {
*/
T visitEvalSchemaFn_Paren(AqlParser.EvalSchemaFn_ParenContext ctx);
/**
* Visit a parse tree produced by the {@code EvalSchemaFn_Dot}
* Visit a parse tree produced by the {@code EvalSchemaFn_Dotted}
* labeled alternative in {@link AqlParser#evalSchemaFn}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitEvalSchemaFn_Dot(AqlParser.EvalSchemaFn_DotContext ctx);
T visitEvalSchemaFn_Dotted(AqlParser.EvalSchemaFn_DottedContext ctx);
/**
* Visit a parse tree produced by {@link AqlParser#schemaGen}.
* @param ctx the parse tree
......@@ -1057,12 +1057,30 @@ public interface AqlParserVisitor<T> extends ParseTreeVisitor<T> {
* @return the visitor result
*/
T visitInstanceCoProdPair(AqlParser.InstanceCoProdPairContext ctx);
/**
* Visit a parse tree produced by {@link AqlParser#instanceColimitNode}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitInstanceColimitNode(AqlParser.InstanceColimitNodeContext ctx);
/**
* Visit a parse tree produced by {@link AqlParser#instanceColimitEdge}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitInstanceColimitEdge(AqlParser.InstanceColimitEdgeContext ctx);
/**
* Visit a parse tree produced by {@link AqlParser#instanceLiteralSection}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitInstanceLiteralSection(AqlParser.InstanceLiteralSectionContext ctx);
/**
* Visit a parse tree produced by {@link AqlParser#instanceLiteralGen}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitInstanceLiteralGen(AqlParser.InstanceLiteralGenContext ctx);
/**
* Visit a parse tree produced by {@link AqlParser#instanceImportJdbcSection}.
* @param ctx the parse tree
......@@ -1148,11 +1166,33 @@ public interface AqlParserVisitor<T> extends ParseTreeVisitor<T> {
*/
T visitInstanceLiteralValue(AqlParser.InstanceLiteralValueContext ctx);
/**
* Visit a parse tree produced by {@link AqlParser#instancePath}.
* Visit a parse tree produced by the {@code InstancePath_Literal}
* labeled alternative in {@link AqlParser#instancePath}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitInstancePath_Literal(AqlParser.InstancePath_LiteralContext ctx);
/**
* Visit a parse tree produced by the {@code InstancePath_ArrowId}
* labeled alternative in {@link AqlParser#instancePath}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitInstancePath_ArrowId(AqlParser.InstancePath_ArrowIdContext ctx);
/**
* Visit a parse tree produced by the {@code InstancePath_Param}
* labeled alternative in {@link AqlParser#instancePath}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitInstancePath_Param(AqlParser.InstancePath_ParamContext ctx);
/**
* Visit a parse tree produced by the {@code InstancePath_Dotted}
* labeled alternative in {@link AqlParser#instancePath}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitInstancePath(AqlParser.InstancePathContext ctx);
T visitInstancePath_Dotted(AqlParser.InstancePath_DottedContext ctx);
/**
* Visit a parse tree produced by {@link AqlParser#instanceArrowId}.
* @param ctx the parse tree
......@@ -1171,6 +1211,12 @@ public interface AqlParserVisitor<T> extends ParseTreeVisitor<T> {
* @return the visitor result
*/
T visitInstanceQuotientSection(AqlParser.InstanceQuotientSectionContext ctx);
/**
* Visit a parse tree produced by {@link AqlParser#instanceChaseSection}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitInstanceChaseSection(AqlParser.InstanceChaseSectionContext ctx);
/**
* Visit a parse tree produced by {@link AqlParser#instanceRandomSection}.
* @param ctx the parse tree
......
......@@ -46,7 +46,7 @@ instanceExp
(LBRACE instanceCoProdSection RBRACE)?
# InstanceExp_Union
| COPRODUCT_UNRESTRICTED instanceRef (PLUS instanceRef)* COLON schemaKind
| COPRODUCT_UNRESTRICTED instanceKind (PLUS instanceKind)* COLON schemaKind
(LBRACE instanceCoProdUnrestrictSection RBRACE)?
# InstanceExp_CoProdUn
......@@ -82,20 +82,21 @@ instanceExp
(LBRACE instanceQuotientSection RBRACE)?
# InstanceExp_Quotient
| CHASE constraintKind+ instanceKind INTEGER?
| CHASE constraintKind instanceKind INTEGER?
(LBRACE instanceChaseSection RBRACE)?
# InstanceExp_Chase
| RANDOM COLON schemaRef
(LBRACE instanceRandomSection RBRACE)?
# InstanceExp_Random
| ANONYMIZE instanceRef
| ANONYMIZE instanceKind
# InstanceExp_Anonymize
| FROZEN queryRef schemaRef
| FROZEN queryKind schemaKind
# InstanceExp_Frozen
| PI queryKind instanceKind
| PI mappingKind instanceKind
(LBRACE instancePiSection RBRACE)?
# InstanceExp_Pi
......@@ -114,20 +115,24 @@ instanceImportJdbcAllSection : allOptions ;
instancePiSection : allOptions ;
instanceColimitSection
: NODES (instanceRef RARROW instanceKind)+
EDGES (schemaArrowId RARROW transformKind)+
: NODES instanceColimitNode+
EDGES instanceColimitEdge+
allOptions
;
instanceCoProdPair : mappingKind instanceKind ;
instanceColimitNode : instanceRef RARROW instanceKind ;
instanceColimitEdge : schemaArrowId RARROW transformKind ;
instanceLiteralSection
: (IMPORTS instanceRef*)?
(GENERATORS (instanceGen+ COLON schemaEntityId)+)?
(GENERATORS instanceLiteralGen+)?
(EQUATIONS instanceEquation*)?
(MULTI_EQUATIONS instanceMultiEquation*)?
allOptions
;
instanceLiteralGen : instanceGen+ COLON schemaEntityId ;
instanceImportJdbcSection
: ((schemaEntityId | schemaAttributeId | schemaForeignId | typesideTypeId)
......@@ -172,10 +177,11 @@ instanceLiteralValue
;