Commit 090eb957 authored by Fred Eisele's avatar Fred Eisele
Browse files

Handler for Schema [checkpoint]

parent 2100b5f2
Loading
Loading
Loading
Loading
+8 −8
Changes for gen/catdata/aql/grammar/AqlLexerRules.java: 8 added lines, 8 removed lines.
Original line number Diff line number Diff line
// Generated from /home/fred/.boot/cache/tmp/home/fred/github/fql2/gen_src/catdata/aql/grammar/7wu/-ru88jt/AqlLexerRules.g4 by ANTLR 4.7
// Generated from /home/fred/.boot/cache/tmp/home/fred/github/fql2/gen_src/catdata/aql/grammar/mpv/-ru88jt/AqlLexerRules.g4 by ANTLR 4.7
package catdata.aql.grammar;
import org.antlr.v4.runtime.Lexer;
import org.antlr.v4.runtime.CharStream;
@@ -47,7 +47,7 @@ public class AqlLexerRules extends Lexer {
		EXPORT_CSV_TRANSFORM=124, EXPORT_JDBC_INSTANCE=125, EXPORT_JDBC_QUERY=126, 
		EXPORT_JDBC_TRANSFORM=127, ADD_TO_CLASSPATH=128, QUERY=129, SIMPLE=130, 
		GET_MAPPING=131, FROM=132, RETURN=133, TO_QUERY=134, TO_COQUERY=135, SCHEMA=136, 
		SCHEMA_OF=137, GET_SCHEMA=138, INSTANCE_ALL=139, SCHEMA_COLIMIT=140, MODIFY=141, 
		SCHEMA_OF=137, GET_SCHEMA=138, IMPORT_ALL=139, SCHEMA_COLIMIT=140, MODIFY=141, 
		WRAP=142, ENTITY_EQUATIONS=143, PATH_EQUATIONS=144, OBSERVATION_EQUATIONS=145, 
		RENAME=146, REMOVE=147, TRANSFORM=148, UNIT=149, COUNIT=150, UNIT_QUERY=151, 
		COUNIT_QUERY=152, TYPESIDE=153, SQL=154, TYPESIDE_OF=155, TYPES=156, CONSTANTS=157, 
@@ -102,9 +102,9 @@ public class AqlLexerRules extends Lexer {
		"EXPORT_CSV_INSTANCE", "EXPORT_CSV_TRANSFORM", "EXPORT_JDBC_INSTANCE", 
		"EXPORT_JDBC_QUERY", "EXPORT_JDBC_TRANSFORM", "ADD_TO_CLASSPATH", "QUERY", 
		"SIMPLE", "GET_MAPPING", "FROM", "RETURN", "TO_QUERY", "TO_COQUERY", "SCHEMA", 
		"SCHEMA_OF", "GET_SCHEMA", "INSTANCE_ALL", "SCHEMA_COLIMIT", "MODIFY", 
		"WRAP", "ENTITY_EQUATIONS", "PATH_EQUATIONS", "OBSERVATION_EQUATIONS", 
		"RENAME", "REMOVE", "TRANSFORM", "UNIT", "COUNIT", "UNIT_QUERY", "COUNIT_QUERY", 
		"SCHEMA_OF", "GET_SCHEMA", "IMPORT_ALL", "SCHEMA_COLIMIT", "MODIFY", "WRAP", 
		"ENTITY_EQUATIONS", "PATH_EQUATIONS", "OBSERVATION_EQUATIONS", "RENAME", 
		"REMOVE", "TRANSFORM", "UNIT", "COUNIT", "UNIT_QUERY", "COUNIT_QUERY", 
		"TYPESIDE", "SQL", "TYPESIDE_OF", "TYPES", "CONSTANTS", "FUNCTIONS", "JAVA_TYPES", 
		"JAVA_CONSTANTS", "JAVA_FUNCTIONS", "CONSTRAINTS", "COLON", "COLON_COLON", 
		"COMMA", "SEMI", "LPAREN", "RPAREN", "LBRACE", "RBRACE", "LBRACK", "RBRACK", 
@@ -189,9 +189,9 @@ public class AqlLexerRules extends Lexer {
		"EXPORT_CSV_INSTANCE", "EXPORT_CSV_TRANSFORM", "EXPORT_JDBC_INSTANCE", 
		"EXPORT_JDBC_QUERY", "EXPORT_JDBC_TRANSFORM", "ADD_TO_CLASSPATH", "QUERY", 
		"SIMPLE", "GET_MAPPING", "FROM", "RETURN", "TO_QUERY", "TO_COQUERY", "SCHEMA", 
		"SCHEMA_OF", "GET_SCHEMA", "INSTANCE_ALL", "SCHEMA_COLIMIT", "MODIFY", 
		"WRAP", "ENTITY_EQUATIONS", "PATH_EQUATIONS", "OBSERVATION_EQUATIONS", 
		"RENAME", "REMOVE", "TRANSFORM", "UNIT", "COUNIT", "UNIT_QUERY", "COUNIT_QUERY", 
		"SCHEMA_OF", "GET_SCHEMA", "IMPORT_ALL", "SCHEMA_COLIMIT", "MODIFY", "WRAP", 
		"ENTITY_EQUATIONS", "PATH_EQUATIONS", "OBSERVATION_EQUATIONS", "RENAME", 
		"REMOVE", "TRANSFORM", "UNIT", "COUNIT", "UNIT_QUERY", "COUNIT_QUERY", 
		"TYPESIDE", "SQL", "TYPESIDE_OF", "TYPES", "CONSTANTS", "FUNCTIONS", "JAVA_TYPES", 
		"JAVA_CONSTANTS", "JAVA_FUNCTIONS", "CONSTRAINTS", "COLON", "COLON_COLON", 
		"COMMA", "SEMI", "LPAREN", "RPAREN", "LBRACE", "RBRACE", "LBRACK", "RBRACK", 
+391 −335

File changed.

Preview size limit exceeded, changes collapsed.

+35 −11
Changes for gen/catdata/aql/grammar/AqlParserBaseListener.java: 35 added lines, 11 removed lines.
Original line number Diff line number Diff line
// Generated from /home/fred/.boot/cache/tmp/home/fred/github/fql2/gen_src/catdata/aql/grammar/7wu/-ru88jt/AqlParser.g4 by ANTLR 4.7
// Generated from /home/fred/.boot/cache/tmp/home/fred/github/fql2/gen_src/catdata/aql/grammar/mpv/-ru88jt/AqlParser.g4 by ANTLR 4.7
package catdata.aql.grammar;

import org.antlr.v4.runtime.ParserRuleContext;
@@ -1096,13 +1096,13 @@ public class AqlParserBaseListener implements AqlParserListener {
	 *
	 * <p>The default implementation does nothing.</p>
	 */
	@Override public void enterSchema_OfInstanceAll(AqlParser.Schema_OfInstanceAllContext ctx) { }
	@Override public void enterSchema_OfImportAll(AqlParser.Schema_OfImportAllContext ctx) { }
	/**
	 * {@inheritDoc}
	 *
	 * <p>The default implementation does nothing.</p>
	 */
	@Override public void exitSchema_OfInstanceAll(AqlParser.Schema_OfInstanceAllContext ctx) { }
	@Override public void exitSchema_OfImportAll(AqlParser.Schema_OfImportAllContext ctx) { }
	/**
	 * {@inheritDoc}
	 *
@@ -1132,25 +1132,25 @@ public class AqlParserBaseListener implements AqlParserListener {
	 *
	 * <p>The default implementation does nothing.</p>
	 */
	@Override public void enterSchema_Literal(AqlParser.Schema_LiteralContext ctx) { }
	@Override public void enterSchema_GetSchemaColimit(AqlParser.Schema_GetSchemaColimitContext ctx) { }
	/**
	 * {@inheritDoc}
	 *
	 * <p>The default implementation does nothing.</p>
	 */
	@Override public void exitSchema_Literal(AqlParser.Schema_LiteralContext ctx) { }
	@Override public void exitSchema_GetSchemaColimit(AqlParser.Schema_GetSchemaColimitContext ctx) { }
	/**
	 * {@inheritDoc}
	 *
	 * <p>The default implementation does nothing.</p>
	 */
	@Override public void enterSchema_GetSchemaColimit(AqlParser.Schema_GetSchemaColimitContext ctx) { }
	@Override public void enterSchema_Literal(AqlParser.Schema_LiteralContext ctx) { }
	/**
	 * {@inheritDoc}
	 *
	 * <p>The default implementation does nothing.</p>
	 */
	@Override public void exitSchema_GetSchemaColimit(AqlParser.Schema_GetSchemaColimitContext ctx) { }
	@Override public void exitSchema_Literal(AqlParser.Schema_LiteralContext ctx) { }
	/**
	 * {@inheritDoc}
	 *
@@ -1228,25 +1228,49 @@ public class AqlParserBaseListener implements AqlParserListener {
	 *
	 * <p>The default implementation does nothing.</p>
	 */
	@Override public void enterSchemaPathEquation(AqlParser.SchemaPathEquationContext ctx) { }
	@Override public void enterSchemaPathEqnSig(AqlParser.SchemaPathEqnSigContext ctx) { }
	/**
	 * {@inheritDoc}
	 *
	 * <p>The default implementation does nothing.</p>
	 */
	@Override public void exitSchemaPathEqnSig(AqlParser.SchemaPathEqnSigContext ctx) { }
	/**
	 * {@inheritDoc}
	 *
	 * <p>The default implementation does nothing.</p>
	 */
	@Override public void enterSchemaPath_ArrowId(AqlParser.SchemaPath_ArrowIdContext ctx) { }
	/**
	 * {@inheritDoc}
	 *
	 * <p>The default implementation does nothing.</p>
	 */
	@Override public void exitSchemaPath_ArrowId(AqlParser.SchemaPath_ArrowIdContext ctx) { }
	/**
	 * {@inheritDoc}
	 *
	 * <p>The default implementation does nothing.</p>
	 */
	@Override public void enterSchemaPath_Paren(AqlParser.SchemaPath_ParenContext ctx) { }
	/**
	 * {@inheritDoc}
	 *
	 * <p>The default implementation does nothing.</p>
	 */
	@Override public void exitSchemaPathEquation(AqlParser.SchemaPathEquationContext ctx) { }
	@Override public void exitSchemaPath_Paren(AqlParser.SchemaPath_ParenContext ctx) { }
	/**
	 * {@inheritDoc}
	 *
	 * <p>The default implementation does nothing.</p>
	 */
	@Override public void enterSchemaPath(AqlParser.SchemaPathContext ctx) { }
	@Override public void enterSchemaPath_Dot(AqlParser.SchemaPath_DotContext ctx) { }
	/**
	 * {@inheritDoc}
	 *
	 * <p>The default implementation does nothing.</p>
	 */
	@Override public void exitSchemaPath(AqlParser.SchemaPathContext ctx) { }
	@Override public void exitSchemaPath_Dot(AqlParser.SchemaPath_DotContext ctx) { }
	/**
	 * {@inheritDoc}
	 *
+20 −6
Changes for gen/catdata/aql/grammar/AqlParserBaseVisitor.java: 20 added lines, 6 removed lines.
Original line number Diff line number Diff line
// Generated from /home/fred/.boot/cache/tmp/home/fred/github/fql2/gen_src/catdata/aql/grammar/7wu/-ru88jt/AqlParser.g4 by ANTLR 4.7
// Generated from /home/fred/.boot/cache/tmp/home/fred/github/fql2/gen_src/catdata/aql/grammar/mpv/-ru88jt/AqlParser.g4 by ANTLR 4.7
package catdata.aql.grammar;
import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor;

@@ -647,7 +647,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 visitSchema_OfInstanceAll(AqlParser.Schema_OfInstanceAllContext ctx) { return visitChildren(ctx); }
	@Override public T visitSchema_OfImportAll(AqlParser.Schema_OfImportAllContext ctx) { return visitChildren(ctx); }
	/**
	 * {@inheritDoc}
	 *
@@ -668,14 +668,14 @@ 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 visitSchema_Literal(AqlParser.Schema_LiteralContext ctx) { return visitChildren(ctx); }
	@Override public T visitSchema_GetSchemaColimit(AqlParser.Schema_GetSchemaColimitContext ctx) { return visitChildren(ctx); }
	/**
	 * {@inheritDoc}
	 *
	 * <p>The default implementation returns the result of calling
	 * {@link #visitChildren} on {@code ctx}.</p>
	 */
	@Override public T visitSchema_GetSchemaColimit(AqlParser.Schema_GetSchemaColimitContext ctx) { return visitChildren(ctx); }
	@Override public T visitSchema_Literal(AqlParser.Schema_LiteralContext ctx) { return visitChildren(ctx); }
	/**
	 * {@inheritDoc}
	 *
@@ -724,14 +724,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 visitSchemaPathEquation(AqlParser.SchemaPathEquationContext ctx) { return visitChildren(ctx); }
	@Override public T visitSchemaPathEqnSig(AqlParser.SchemaPathEqnSigContext ctx) { return visitChildren(ctx); }
	/**
	 * {@inheritDoc}
	 *
	 * <p>The default implementation returns the result of calling
	 * {@link #visitChildren} on {@code ctx}.</p>
	 */
	@Override public T visitSchemaPath_ArrowId(AqlParser.SchemaPath_ArrowIdContext ctx) { return visitChildren(ctx); }
	/**
	 * {@inheritDoc}
	 *
	 * <p>The default implementation returns the result of calling
	 * {@link #visitChildren} on {@code ctx}.</p>
	 */
	@Override public T visitSchemaPath_Paren(AqlParser.SchemaPath_ParenContext ctx) { return visitChildren(ctx); }
	/**
	 * {@inheritDoc}
	 *
	 * <p>The default implementation returns the result of calling
	 * {@link #visitChildren} on {@code ctx}.</p>
	 */
	@Override public T visitSchemaPath(AqlParser.SchemaPathContext ctx) { return visitChildren(ctx); }
	@Override public T visitSchemaPath_Dot(AqlParser.SchemaPath_DotContext ctx) { return visitChildren(ctx); }
	/**
	 * {@inheritDoc}
	 *
+47 −21
Changes for gen/catdata/aql/grammar/AqlParserListener.java: 47 added lines, 21 removed lines.
Original line number Diff line number Diff line
// Generated from /home/fred/.boot/cache/tmp/home/fred/github/fql2/gen_src/catdata/aql/grammar/7wu/-ru88jt/AqlParser.g4 by ANTLR 4.7
// Generated from /home/fred/.boot/cache/tmp/home/fred/github/fql2/gen_src/catdata/aql/grammar/mpv/-ru88jt/AqlParser.g4 by ANTLR 4.7
package catdata.aql.grammar;
import org.antlr.v4.runtime.tree.ParseTreeListener;

@@ -954,17 +954,17 @@ public interface AqlParserListener extends ParseTreeListener {
	 */
	void exitSchema_Empty(AqlParser.Schema_EmptyContext ctx);
	/**
	 * Enter a parse tree produced by the {@code Schema_OfInstanceAll}
	 * Enter a parse tree produced by the {@code Schema_OfImportAll}
	 * labeled alternative in {@link AqlParser#schemaDef}.
	 * @param ctx the parse tree
	 */
	void enterSchema_OfInstanceAll(AqlParser.Schema_OfInstanceAllContext ctx);
	void enterSchema_OfImportAll(AqlParser.Schema_OfImportAllContext ctx);
	/**
	 * Exit a parse tree produced by the {@code Schema_OfInstanceAll}
	 * Exit a parse tree produced by the {@code Schema_OfImportAll}
	 * labeled alternative in {@link AqlParser#schemaDef}.
	 * @param ctx the parse tree
	 */
	void exitSchema_OfInstanceAll(AqlParser.Schema_OfInstanceAllContext ctx);
	void exitSchema_OfImportAll(AqlParser.Schema_OfImportAllContext ctx);
	/**
	 * Enter a parse tree produced by the {@code Schema_OfInstance}
	 * labeled alternative in {@link AqlParser#schemaDef}.
@@ -990,29 +990,29 @@ public interface AqlParserListener extends ParseTreeListener {
	 */
	void exitSchema_Destination(AqlParser.Schema_DestinationContext ctx);
	/**
	 * Enter a parse tree produced by the {@code Schema_Literal}
	 * Enter a parse tree produced by the {@code Schema_GetSchemaColimit}
	 * labeled alternative in {@link AqlParser#schemaDef}.
	 * @param ctx the parse tree
	 */
	void enterSchema_Literal(AqlParser.Schema_LiteralContext ctx);
	void enterSchema_GetSchemaColimit(AqlParser.Schema_GetSchemaColimitContext ctx);
	/**
	 * Exit a parse tree produced by the {@code Schema_Literal}
	 * Exit a parse tree produced by the {@code Schema_GetSchemaColimit}
	 * labeled alternative in {@link AqlParser#schemaDef}.
	 * @param ctx the parse tree
	 */
	void exitSchema_Literal(AqlParser.Schema_LiteralContext ctx);
	void exitSchema_GetSchemaColimit(AqlParser.Schema_GetSchemaColimitContext ctx);
	/**
	 * Enter a parse tree produced by the {@code Schema_GetSchemaColimit}
	 * Enter a parse tree produced by the {@code Schema_Literal}
	 * labeled alternative in {@link AqlParser#schemaDef}.
	 * @param ctx the parse tree
	 */
	void enterSchema_GetSchemaColimit(AqlParser.Schema_GetSchemaColimitContext ctx);
	void enterSchema_Literal(AqlParser.Schema_LiteralContext ctx);
	/**
	 * Exit a parse tree produced by the {@code Schema_GetSchemaColimit}
	 * Exit a parse tree produced by the {@code Schema_Literal}
	 * labeled alternative in {@link AqlParser#schemaDef}.
	 * @param ctx the parse tree
	 */
	void exitSchema_GetSchemaColimit(AqlParser.Schema_GetSchemaColimitContext ctx);
	void exitSchema_Literal(AqlParser.Schema_LiteralContext ctx);
	/**
	 * Enter a parse tree produced by the {@code SchemaKind_Ref}
	 * labeled alternative in {@link AqlParser#schemaKind}.
@@ -1078,25 +1078,51 @@ public interface AqlParserListener extends ParseTreeListener {
	 */
	void exitSchemaForeignSig(AqlParser.SchemaForeignSigContext ctx);
	/**
	 * Enter a parse tree produced by {@link AqlParser#schemaPathEquation}.
	 * Enter a parse tree produced by {@link AqlParser#schemaPathEqnSig}.
	 * @param ctx the parse tree
	 */
	void enterSchemaPathEqnSig(AqlParser.SchemaPathEqnSigContext ctx);
	/**
	 * Exit a parse tree produced by {@link AqlParser#schemaPathEqnSig}.
	 * @param ctx the parse tree
	 */
	void exitSchemaPathEqnSig(AqlParser.SchemaPathEqnSigContext ctx);
	/**
	 * Enter a parse tree produced by the {@code SchemaPath_ArrowId}
	 * labeled alternative in {@link AqlParser#schemaPath}.
	 * @param ctx the parse tree
	 */
	void enterSchemaPath_ArrowId(AqlParser.SchemaPath_ArrowIdContext ctx);
	/**
	 * Exit a parse tree produced by the {@code SchemaPath_ArrowId}
	 * labeled alternative in {@link AqlParser#schemaPath}.
	 * @param ctx the parse tree
	 */
	void exitSchemaPath_ArrowId(AqlParser.SchemaPath_ArrowIdContext ctx);
	/**
	 * Enter a parse tree produced by the {@code SchemaPath_Paren}
	 * labeled alternative in {@link AqlParser#schemaPath}.
	 * @param ctx the parse tree
	 */
	void enterSchemaPathEquation(AqlParser.SchemaPathEquationContext ctx);
	void enterSchemaPath_Paren(AqlParser.SchemaPath_ParenContext ctx);
	/**
	 * Exit a parse tree produced by {@link AqlParser#schemaPathEquation}.
	 * Exit a parse tree produced by the {@code SchemaPath_Paren}
	 * labeled alternative in {@link AqlParser#schemaPath}.
	 * @param ctx the parse tree
	 */
	void exitSchemaPathEquation(AqlParser.SchemaPathEquationContext ctx);
	void exitSchemaPath_Paren(AqlParser.SchemaPath_ParenContext ctx);
	/**
	 * Enter a parse tree produced by {@link AqlParser#schemaPath}.
	 * Enter a parse tree produced by the {@code SchemaPath_Dot}
	 * labeled alternative in {@link AqlParser#schemaPath}.
	 * @param ctx the parse tree
	 */
	void enterSchemaPath(AqlParser.SchemaPathContext ctx);
	void enterSchemaPath_Dot(AqlParser.SchemaPath_DotContext ctx);
	/**
	 * Exit a parse tree produced by {@link AqlParser#schemaPath}.
	 * Exit a parse tree produced by the {@code SchemaPath_Dot}
	 * labeled alternative in {@link AqlParser#schemaPath}.
	 * @param ctx the parse tree
	 */
	void exitSchemaPath(AqlParser.SchemaPathContext ctx);
	void exitSchemaPath_Dot(AqlParser.SchemaPath_DotContext ctx);
	/**
	 * Enter a parse tree produced by {@link AqlParser#schemaArrowId}.
	 * @param ctx the parse tree
Loading