Skip to content

Commit

Permalink
Fixed #117 [AQL] Allow enduser to provide services that take a Lambda…
Browse files Browse the repository at this point in the history
…Value.
  • Loading branch information
ylussaud committed Feb 13, 2024
1 parent 31de41d commit d4a949a
Show file tree
Hide file tree
Showing 20 changed files with 1,261 additions and 1,289 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Generated from Query.g4 by ANTLR 4.10.1

/*******************************************************************************
* Copyright (c) 2015, 2023 Obeo.
* Copyright (c) 2015, 2024 Obeo.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
Expand Down Expand Up @@ -293,61 +293,61 @@ public class QueryBaseListener implements QueryListener {
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterIterationCall(QueryParser.IterationCallContext ctx) { }
@Override public void enterServiceCall(QueryParser.ServiceCallContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitIterationCall(QueryParser.IterationCallContext ctx) { }
@Override public void exitServiceCall(QueryParser.ServiceCallContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterServiceCall(QueryParser.ServiceCallContext ctx) { }
@Override public void enterLambdaExpression(QueryParser.LambdaExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitServiceCall(QueryParser.ServiceCallContext ctx) { }
@Override public void exitLambdaExpression(QueryParser.LambdaExpressionContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterLambdaExpression(QueryParser.LambdaExpressionContext ctx) { }
@Override public void enterArguments(QueryParser.ArgumentsContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitLambdaExpression(QueryParser.LambdaExpressionContext ctx) { }
@Override public void exitArguments(QueryParser.ArgumentsContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterCollectionIterator(QueryParser.CollectionIteratorContext ctx) { }
@Override public void enterExpressionSequence(QueryParser.ExpressionSequenceContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitCollectionIterator(QueryParser.CollectionIteratorContext ctx) { }
@Override public void exitExpressionSequence(QueryParser.ExpressionSequenceContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void enterExpressionSequence(QueryParser.ExpressionSequenceContext ctx) { }
@Override public void enterLambda(QueryParser.LambdaContext ctx) { }
/**
* {@inheritDoc}
*
* <p>The default implementation does nothing.</p>
*/
@Override public void exitExpressionSequence(QueryParser.ExpressionSequenceContext ctx) { }
@Override public void exitLambda(QueryParser.LambdaContext ctx) { }
/**
* {@inheritDoc}
*
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Generated from Query.g4 by ANTLR 4.10.1

/*******************************************************************************
* Copyright (c) 2015, 2023 Obeo.
* Copyright (c) 2015, 2024 Obeo.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
Expand Down Expand Up @@ -277,26 +277,12 @@ public interface QueryListener extends ParseTreeListener {
*/
void exitCollectionCall(QueryParser.CollectionCallContext ctx);
/**
* Enter a parse tree produced by the {@code IterationCall}
* labeled alternative in {@link QueryParser#callExp}.
* @param ctx the parse tree
*/
void enterIterationCall(QueryParser.IterationCallContext ctx);
/**
* Exit a parse tree produced by the {@code IterationCall}
* labeled alternative in {@link QueryParser#callExp}.
* @param ctx the parse tree
*/
void exitIterationCall(QueryParser.IterationCallContext ctx);
/**
* Enter a parse tree produced by the {@code ServiceCall}
* labeled alternative in {@link QueryParser#callExp}.
* Enter a parse tree produced by {@link QueryParser#serviceCall}.
* @param ctx the parse tree
*/
void enterServiceCall(QueryParser.ServiceCallContext ctx);
/**
* Exit a parse tree produced by the {@code ServiceCall}
* labeled alternative in {@link QueryParser#callExp}.
* Exit a parse tree produced by {@link QueryParser#serviceCall}.
* @param ctx the parse tree
*/
void exitServiceCall(QueryParser.ServiceCallContext ctx);
Expand All @@ -311,15 +297,15 @@ public interface QueryListener extends ParseTreeListener {
*/
void exitLambdaExpression(QueryParser.LambdaExpressionContext ctx);
/**
* Enter a parse tree produced by {@link QueryParser#collectionIterator}.
* Enter a parse tree produced by {@link QueryParser#arguments}.
* @param ctx the parse tree
*/
void enterCollectionIterator(QueryParser.CollectionIteratorContext ctx);
void enterArguments(QueryParser.ArgumentsContext ctx);
/**
* Exit a parse tree produced by {@link QueryParser#collectionIterator}.
* Exit a parse tree produced by {@link QueryParser#arguments}.
* @param ctx the parse tree
*/
void exitCollectionIterator(QueryParser.CollectionIteratorContext ctx);
void exitArguments(QueryParser.ArgumentsContext ctx);
/**
* Enter a parse tree produced by {@link QueryParser#expressionSequence}.
* @param ctx the parse tree
Expand All @@ -330,6 +316,16 @@ public interface QueryListener extends ParseTreeListener {
* @param ctx the parse tree
*/
void exitExpressionSequence(QueryParser.ExpressionSequenceContext ctx);
/**
* Enter a parse tree produced by {@link QueryParser#lambda}.
* @param ctx the parse tree
*/
void enterLambda(QueryParser.LambdaContext ctx);
/**
* Exit a parse tree produced by {@link QueryParser#lambda}.
* @param ctx the parse tree
*/
void exitLambda(QueryParser.LambdaContext ctx);
/**
* Enter a parse tree produced by {@link QueryParser#variableDefinition}.
* @param ctx the parse tree
Expand Down
Loading

0 comments on commit d4a949a

Please sign in to comment.