Package eu.europa.ted.efx.sdk0.v7
Class EfxTemplateTranslator07
- java.lang.Object
-
- eu.europa.ted.efx.sdk0.v7.EfxBaseListener
-
- eu.europa.ted.efx.sdk0.v7.EfxExpressionTranslator07
-
- eu.europa.ted.efx.sdk0.v7.EfxTemplateTranslator07
-
- All Implemented Interfaces:
EfxExpressionTranslator,EfxTemplateTranslator,EfxListener,org.antlr.v4.runtime.tree.ParseTreeListener
public class EfxTemplateTranslator07 extends EfxExpressionTranslator07 implements EfxTemplateTranslator
The EfxTemplateTranslator extends theEfxExpressionTranslator07to provide additional translation capabilities for EFX templates. If has been implemented as an extension to the EfxExpressionTranslator in order to keep things simpler when one only needs to translate EFX expressions (like the condition associated with a business rule).
-
-
Field Summary
-
Fields inherited from class eu.europa.ted.efx.sdk0.v7.EfxExpressionTranslator07
efxContext, errorListener, script, stack, symbols
-
-
Constructor Summary
Constructors Constructor Description EfxTemplateTranslator07(MarkupGenerator markupGenerator, SymbolResolver symbolResolver, ScriptGenerator scriptGenerator, org.antlr.v4.runtime.BaseErrorListener errorListener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidenterTemplateFile(EfxParser.TemplateFileContext ctx)Template FilevoidexitAssetId(EfxParser.AssetIdContext ctx)Exit a parse tree produced byEfxParser.assetId().voidexitAssetType(EfxParser.AssetTypeContext ctx)Exit a parse tree produced byEfxParser.assetType().voidexitContextDeclarationBlock(EfxParser.ContextDeclarationBlockContext ctx)This method changes the current EFX context.voidexitLabelTemplate(EfxParser.LabelTemplateContext ctx)Exit a parse tree produced by thelabelTemplatelabeled alternative inEfxParser.templateFragment().voidexitLabelType(EfxParser.LabelTypeContext ctx)Exit a parse tree produced byEfxParser.labelType().voidexitShorthandBtLabelReference(EfxParser.ShorthandBtLabelReferenceContext ctx)Exit a parse tree produced by theshorthandBtLabelReferencelabeled alternative inEfxParser.labelBlock().voidexitShorthandContextFieldLabelReference(EfxParser.ShorthandContextFieldLabelReferenceContext ctx)Handles the #value shorthand syntax which renders the label corresponding to the value of the the field declared as the context of the current line of the template.voidexitShorthandContextFieldValueReference(EfxParser.ShorthandContextFieldValueReferenceContext ctx)Handles the $value shorthand syntax which renders the value of the field declared as context in the current line of the template.voidexitShorthandContextLabelReference(EfxParser.ShorthandContextLabelReferenceContext ctx)Handles the #{labelType} shorthand syntax which renders the label of the Field or Node declared as the context.voidexitShorthandFieldLabelReference(EfxParser.ShorthandFieldLabelReferenceContext ctx)Exit a parse tree produced by theshorthandFieldLabelReferencelabeled alternative inEfxParser.labelBlock().voidexitShorthandFieldValueLabelReference(EfxParser.ShorthandFieldValueLabelReferenceContext ctx)Exit a parse tree produced by theshorthandFieldValueLabelReferencelabeled alternative inEfxParser.labelBlock().voidexitStandardExpressionBlock(EfxParser.StandardExpressionBlockContext ctx)Handles a standard expression block in a template line.voidexitStandardLabelReference(EfxParser.StandardLabelReferenceContext ctx)Label Blocks #{...}voidexitTemplateFile(EfxParser.TemplateFileContext ctx)Exit a parse tree produced byEfxParser.templateFile().voidexitTemplateLine(EfxParser.TemplateLineContext ctx)Template linesvoidexitTextTemplate(EfxParser.TextTemplateContext ctx)Source template blocksvoidexitValueTemplate(EfxParser.ValueTemplateContext ctx)Exit a parse tree produced by thevalueTemplatelabeled alternative inEfxParser.templateFragment().StringrenderTemplate(InputStream stream)StringrenderTemplate(String template)Translates the template contained in the string passed as a parameter.StringrenderTemplate(Path pathname)Opens the indicated EFX file and translates the EFX template it contains.-
Methods inherited from class eu.europa.ted.efx.sdk0.v7.EfxExpressionTranslator07
enterAbsoluteFieldReference, enterAbsoluteNodeReference, enterPredicate, enterSingleExpression, exitAbsoluteFieldReference, exitAbsoluteNodeReference, exitAdditionExpression, exitBooleanComparison, exitBooleanInListCondition, exitBooleanList, exitBooleanQuantifiedExpression, exitBooleansFromBooleanIteration, exitBooleansFromDateIteration, exitBooleansFromDurationIteration, exitBooleansFromNumericIteration, exitBooleansFromStringIteration, exitBooleansFromTimeIteration, exitBooleanVariableDeclaration, exitCodeList, exitCodelistReference, exitConcatFunction, exitConditionalBooleanExpression, exitConditionalDateExpression, exitConditionalDurationExpression, exitConditionalNumericExpression, exitConditionalStringExpression, exitConditionalTimeExpression, exitContainsFunction, exitCountFunction, exitDateComparison, exitDateFromStringFunction, exitDateInListCondition, exitDateList, exitDateLiteral, exitDateMinusMeasureFunction, exitDatePlusMeasureFunction, exitDateQuantifiedExpression, exitDatesFromBooleanIteration, exitDatesFromDateIteration, exitDatesFromDurationIteration, exitDatesFromNumericIteration, exitDatesFromStringIteration, exitDatesFromTimeIteration, exitDateSubtractionExpression, exitDateVariableDeclaration, exitDayTimeDurationFromStringFunction, exitDurationAdditionExpression, exitDurationComparison, exitDurationInListCondition, exitDurationLeftMultiplicationExpression, exitDurationList, exitDurationLiteral, exitDurationQuantifiedExpression, exitDurationRightMultiplicationExpression, exitDurationsFromBooleanIteration, exitDurationsFromDateIteration, exitDurationsFromDurationIteration, exitDurationsFromNumericIteration, exitDurationsFromStringIteration, exitDurationsFromTimeIteration, exitDurationSubtractionExpression, exitDurationVariableDeclaration, exitEmptinessCondition, exitEndsWithFunction, exitFalseBooleanLiteral, exitFieldContext, exitFieldReferenceInOtherNotice, exitFieldReferenceWithFieldContextOverride, exitFieldReferenceWithNodeContextOverride, exitFieldReferenceWithPredicate, exitFieldValueComparison, exitFormatNumberFunction, exitIterationExpression, exitLikePatternCondition, exitLogicalAndCondition, exitLogicalOrCondition, exitMultiplicationExpression, exitNodeContext, exitNodeReferenceWithPredicate, exitNotFunction, exitNoticeReference, exitNumberFunction, exitNumberInListCondition, exitNumbersFromBooleanIteration, exitNumbersFromDateIteration, exitNumbersFromDurationIteration, exitNumbersFromNumericIteration, exitNumbersFromStringIteration, exitNumbersFromTimeIteration, exitNumericComparison, exitNumericList, exitNumericLiteral, exitNumericQuantifiedExpression, exitNumericVariableDeclaration, exitParenthesizedBooleanExpression, exitParenthesizedBooleansFromIteration, exitParenthesizedDatesFromIteration, exitParenthesizedDurationsFromITeration, exitParenthesizedNumbersFromIteration, exitParenthesizedNumericExpression, exitParenthesizedStringsFromIteration, exitParenthesizedTimesFromIteration, exitPredicate, exitPresenceCondition, exitSimpleFieldReference, exitSimpleNodeReference, exitSingleExpression, exitStartsWithFunction, exitStringComparison, exitStringInListCondition, exitStringLengthFunction, exitStringList, exitStringLiteral, exitStringQuantifiedExpression, exitStringsFromBooleanIteration, exitStringsFromDateIteration, exitStringsFromDurationIteration, exitStringsFromNumericIteration, exitStringsFromStringIteration, exitStringsFromTimeIteration, exitStringVariableDeclaration, exitSubstringFunction, exitSumFunction, exitTimeComparison, exitTimeFromStringFunction, exitTimeInListCondition, exitTimeList, exitTimeLiteral, exitTimeQuantifiedExpression, exitTimesFromBooleanIteration, exitTimesFromDateIteration, exitTimesFromDurationIteration, exitTimesFromNumericIteration, exitTimesFromStringIteration, exitTimesFromTimeIteration, exitTimeVariableDeclaration, exitToStringFunction, exitTrueBooleanLiteral, exitUntypedAttributeValueReference, exitUntypedConditonalExpression, exitUntypedFieldValueReference, exitUntypedFieldValueSequence, exitUntypedVariable, exitYearMonthDurationFromStringFunction, getFieldIdFromChildSimpleFieldReferenceContext, getNodeIdFromChildSimpleNodeReferenceContext, translateExpression
-
Methods inherited from class eu.europa.ted.efx.sdk0.v7.EfxBaseListener
enterAdditionExpression, enterAssetId, enterAssetType, enterBooleanCastExpression, enterBooleanComparison, enterBooleanFunctionExpression, enterBooleanInListCondition, enterBooleanList, enterBooleanLiteral, enterBooleanLiteralExpression, enterBooleanQuantifiedExpression, enterBooleansFromBooleanIteration, enterBooleansFromDateIteration, enterBooleansFromDurationIteration, enterBooleansFromIteration, enterBooleansFromNumericIteration, enterBooleansFromStringIteration, enterBooleansFromTimeIteration, enterBooleanTypeCastFieldReference, enterBooleanVariableDeclaration, enterCodeList, enterCodelistId, enterCodelistReference, enterConcatFunction, enterConditionalBooleanExpression, enterConditionalDateExpression, enterConditionalDurationExpression, enterConditionalNumericExpression, enterConditionalStringExpression, enterConditionalTimeExpression, enterContainsFunction, enterContextDeclarationBlock, enterCountFunction, enterDateCastExpression, enterDateComparison, enterDateFromStringFunction, enterDateFunctionExpression, enterDateInListCondition, enterDateList, enterDateLiteral, enterDateLiteralExpression, enterDateMinusMeasureFunction, enterDatePlusMeasureFunction, enterDateQuantifiedExpression, enterDatesFromBooleanIteration, enterDatesFromDateIteration, enterDatesFromDurationIteration, enterDatesFromIteration, enterDatesFromNumericIteration, enterDatesFromStringIteration, enterDatesFromTimeIteration, enterDateSubtractionExpression, enterDateTypeCastFieldReference, enterDateVariableDeclaration, enterDayTimeDurationFromStringFunction, enterDurationAdditionExpression, enterDurationCastExpression, enterDurationComparison, enterDurationFunctionExpression, enterDurationInListCondition, enterDurationLeftMultiplicationExpression, enterDurationList, enterDurationLiteral, enterDurationLiteralExpression, enterDurationQuantifiedExpression, enterDurationRightMultiplicationExpression, enterDurationsFromBooleanIteration, enterDurationsFromDateIteration, enterDurationsFromDurationIteration, enterDurationsFromIteration, enterDurationsFromNumericIteration, enterDurationsFromStringIteration, enterDurationsFromTimeIteration, enterDurationSubtractionExpression, enterDurationTypeCastFieldReference, enterDurationVariableDeclaration, enterEmptinessCondition, enterEndsWithFunction, enterEveryRule, enterExpression, enterFalseBooleanLiteral, enterFieldContext, enterFieldReference, enterFieldReferenceInOtherNotice, enterFieldReferenceWithFieldContextOverride, enterFieldReferenceWithNodeContextOverride, enterFieldReferenceWithPredicate, enterFieldValueComparison, enterFormatNumberFunction, enterLabelTemplate, enterLabelType, enterLikePatternCondition, enterLogicalAndCondition, enterLogicalOrCondition, enterMultiplicationExpression, enterNodeContext, enterNodeReference, enterNodeReferenceInOtherNotice, enterNodeReferenceWithPredicate, enterNotFunction, enterNoticeReference, enterNumberFunction, enterNumberInListCondition, enterNumbersFromBooleanIteration, enterNumbersFromDateIteration, enterNumbersFromDurationIteration, enterNumbersFromIteration, enterNumbersFromNumericIteration, enterNumbersFromStringIteration, enterNumbersFromTimeIteration, enterNumericCastExpression, enterNumericComparison, enterNumericFunctionExpression, enterNumericList, enterNumericLiteral, enterNumericLiteralExpression, enterNumericQuantifiedExpression, enterNumericTypeCastFieldReference, enterNumericVariableDeclaration, enterOtherAssetId, enterParenthesizedBooleanExpression, enterParenthesizedBooleansFromIteration, enterParenthesizedDatesFromIteration, enterParenthesizedDurationExpression, enterParenthesizedDurationsFromITeration, enterParenthesizedNumbersFromIteration, enterParenthesizedNumericExpression, enterParenthesizedStringsFromIteration, enterParenthesizedTimesFromIteration, enterPathExpression, enterPresenceCondition, enterSequenceExpression, enterShorthandBtLabelReference, enterShorthandContextFieldLabelReference, enterShorthandContextFieldValueReference, enterShorthandContextLabelReference, enterShorthandFieldLabelReference, enterShorthandFieldValueLabelReference, enterSimpleFieldReference, enterSimpleNodeReference, enterStandardExpressionBlock, enterStandardLabelReference, enterStartsWithFunction, enterStringCastExpression, enterStringComparison, enterStringFunctionExpression, enterStringInListCondition, enterStringLengthFunction, enterStringList, enterStringLiteral, enterStringLiteralExpression, enterStringQuantifiedExpression, enterStringsFromBooleanIteration, enterStringsFromDateIteration, enterStringsFromDurationIteration, enterStringsFromIteration, enterStringsFromNumericIteration, enterStringsFromStringIteration, enterStringsFromTimeIteration, enterStringTypeCastFieldReference, enterStringVariableDeclaration, enterSubstringFunction, enterSumFunction, enterTemplate, enterTemplateLine, enterText, enterTextTemplate, enterTimeCastExpression, enterTimeComparison, enterTimeFromStringFunction, enterTimeFunctionExpression, enterTimeInListCondition, enterTimeList, enterTimeLiteral, enterTimeLiteralExpression, enterTimeQuantifiedExpression, enterTimesFromBooleanIteration, enterTimesFromDateIteration, enterTimesFromDurationIteration, enterTimesFromIteration, enterTimesFromNumericIteration, enterTimesFromStringIteration, enterTimesFromTimeIteration, enterTimeTypeCastFieldReference, enterTimeVariableDeclaration, enterToStringFunction, enterTrueBooleanLiteral, enterUntypedAttributeValueReference, enterUntypedAttributeValueSequence, enterUntypedBooleanExpression, enterUntypedConditonalExpression, enterUntypedDateExpression, enterUntypedDurationExpression, enterUntypedFieldValueReference, enterUntypedFieldValueReferenceExpression, enterUntypedFieldValueSequence, enterUntypedNumericExpression, enterUntypedSequenceExpression, enterUntypedStringExpression, enterUntypedTimeExpression, enterUntypedVariable, enterUntypedVariableExpression, enterValueTemplate, enterWhitespace, enterYearMonthDurationFromStringFunction, exitBooleanCastExpression, exitBooleanFunctionExpression, exitBooleanLiteral, exitBooleanLiteralExpression, exitBooleansFromIteration, exitBooleanTypeCastFieldReference, exitCodelistId, exitDateCastExpression, exitDateFunctionExpression, exitDateLiteralExpression, exitDatesFromIteration, exitDateTypeCastFieldReference, exitDurationCastExpression, exitDurationFunctionExpression, exitDurationLiteralExpression, exitDurationsFromIteration, exitDurationTypeCastFieldReference, exitEveryRule, exitExpression, exitFieldReference, exitNodeReference, exitNodeReferenceInOtherNotice, exitNumbersFromIteration, exitNumericCastExpression, exitNumericFunctionExpression, exitNumericLiteralExpression, exitNumericTypeCastFieldReference, exitOtherAssetId, exitParenthesizedDurationExpression, exitPathExpression, exitSequenceExpression, exitStringCastExpression, exitStringFunctionExpression, exitStringLiteralExpression, exitStringsFromIteration, exitStringTypeCastFieldReference, exitTemplate, exitText, exitTimeCastExpression, exitTimeFunctionExpression, exitTimeLiteralExpression, exitTimesFromIteration, exitTimeTypeCastFieldReference, exitUntypedAttributeValueSequence, exitUntypedBooleanExpression, exitUntypedDateExpression, exitUntypedDurationExpression, exitUntypedFieldValueReferenceExpression, exitUntypedNumericExpression, exitUntypedSequenceExpression, exitUntypedStringExpression, exitUntypedTimeExpression, exitUntypedVariableExpression, exitWhitespace, visitErrorNode, visitTerminal
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface eu.europa.ted.efx.interfaces.EfxExpressionTranslator
translateExpression
-
-
-
-
Constructor Detail
-
EfxTemplateTranslator07
public EfxTemplateTranslator07(MarkupGenerator markupGenerator, SymbolResolver symbolResolver, ScriptGenerator scriptGenerator, org.antlr.v4.runtime.BaseErrorListener errorListener)
-
-
Method Detail
-
renderTemplate
public String renderTemplate(Path pathname) throws IOException
Opens the indicated EFX file and translates the EFX template it contains.- Specified by:
renderTemplatein interfaceEfxTemplateTranslator- Throws:
IOException
-
renderTemplate
public String renderTemplate(String template)
Translates the template contained in the string passed as a parameter.- Specified by:
renderTemplatein interfaceEfxTemplateTranslator
-
renderTemplate
public String renderTemplate(InputStream stream) throws IOException
- Specified by:
renderTemplatein interfaceEfxTemplateTranslator- Throws:
IOException
-
enterTemplateFile
public void enterTemplateFile(EfxParser.TemplateFileContext ctx)
Template File- Specified by:
enterTemplateFilein interfaceEfxListener- Overrides:
enterTemplateFilein classEfxBaseListener- Parameters:
ctx- the parse tree
-
exitTemplateFile
public void exitTemplateFile(EfxParser.TemplateFileContext ctx)
Description copied from class:EfxBaseListenerExit a parse tree produced byEfxParser.templateFile().The default implementation does nothing.
- Specified by:
exitTemplateFilein interfaceEfxListener- Overrides:
exitTemplateFilein classEfxBaseListener- Parameters:
ctx- the parse tree
-
exitTextTemplate
public void exitTextTemplate(EfxParser.TextTemplateContext ctx)
Source template blocks- Specified by:
exitTextTemplatein interfaceEfxListener- Overrides:
exitTextTemplatein classEfxBaseListener- Parameters:
ctx- the parse tree
-
exitLabelTemplate
public void exitLabelTemplate(EfxParser.LabelTemplateContext ctx)
Description copied from class:EfxBaseListenerExit a parse tree produced by thelabelTemplatelabeled alternative inEfxParser.templateFragment().The default implementation does nothing.
- Specified by:
exitLabelTemplatein interfaceEfxListener- Overrides:
exitLabelTemplatein classEfxBaseListener- Parameters:
ctx- the parse tree
-
exitValueTemplate
public void exitValueTemplate(EfxParser.ValueTemplateContext ctx)
Description copied from class:EfxBaseListenerExit a parse tree produced by thevalueTemplatelabeled alternative inEfxParser.templateFragment().The default implementation does nothing.
- Specified by:
exitValueTemplatein interfaceEfxListener- Overrides:
exitValueTemplatein classEfxBaseListener- Parameters:
ctx- the parse tree
-
exitStandardLabelReference
public void exitStandardLabelReference(EfxParser.StandardLabelReferenceContext ctx)
Label Blocks #{...}- Specified by:
exitStandardLabelReferencein interfaceEfxListener- Overrides:
exitStandardLabelReferencein classEfxBaseListener- Parameters:
ctx- the parse tree
-
exitShorthandBtLabelReference
public void exitShorthandBtLabelReference(EfxParser.ShorthandBtLabelReferenceContext ctx)
Description copied from class:EfxBaseListenerExit a parse tree produced by theshorthandBtLabelReferencelabeled alternative inEfxParser.labelBlock().The default implementation does nothing.
- Specified by:
exitShorthandBtLabelReferencein interfaceEfxListener- Overrides:
exitShorthandBtLabelReferencein classEfxBaseListener- Parameters:
ctx- the parse tree
-
exitShorthandFieldLabelReference
public void exitShorthandFieldLabelReference(EfxParser.ShorthandFieldLabelReferenceContext ctx)
Description copied from class:EfxBaseListenerExit a parse tree produced by theshorthandFieldLabelReferencelabeled alternative inEfxParser.labelBlock().The default implementation does nothing.
- Specified by:
exitShorthandFieldLabelReferencein interfaceEfxListener- Overrides:
exitShorthandFieldLabelReferencein classEfxBaseListener- Parameters:
ctx- the parse tree
-
exitShorthandFieldValueLabelReference
public void exitShorthandFieldValueLabelReference(EfxParser.ShorthandFieldValueLabelReferenceContext ctx)
Description copied from class:EfxBaseListenerExit a parse tree produced by theshorthandFieldValueLabelReferencelabeled alternative inEfxParser.labelBlock().The default implementation does nothing.
- Specified by:
exitShorthandFieldValueLabelReferencein interfaceEfxListener- Overrides:
exitShorthandFieldValueLabelReferencein classEfxBaseListener- Parameters:
ctx- the parse tree
-
exitShorthandContextLabelReference
public void exitShorthandContextLabelReference(EfxParser.ShorthandContextLabelReferenceContext ctx)
Handles the #{labelType} shorthand syntax which renders the label of the Field or Node declared as the context. If the labelType is 'value', then the label depends on the field's value and is rendered according to the field's type. The assetType is inferred from the Field or Node declared as context.- Specified by:
exitShorthandContextLabelReferencein interfaceEfxListener- Overrides:
exitShorthandContextLabelReferencein classEfxBaseListener- Parameters:
ctx- the parse tree
-
exitShorthandContextFieldLabelReference
public void exitShorthandContextFieldLabelReference(EfxParser.ShorthandContextFieldLabelReferenceContext ctx)
Handles the #value shorthand syntax which renders the label corresponding to the value of the the field declared as the context of the current line of the template. This shorthand syntax is only supported for fields of type 'code' or 'indicator'.- Specified by:
exitShorthandContextFieldLabelReferencein interfaceEfxListener- Overrides:
exitShorthandContextFieldLabelReferencein classEfxBaseListener- Parameters:
ctx- the parse tree
-
exitAssetType
public void exitAssetType(EfxParser.AssetTypeContext ctx)
Description copied from class:EfxBaseListenerExit a parse tree produced byEfxParser.assetType().The default implementation does nothing.
- Specified by:
exitAssetTypein interfaceEfxListener- Overrides:
exitAssetTypein classEfxBaseListener- Parameters:
ctx- the parse tree
-
exitLabelType
public void exitLabelType(EfxParser.LabelTypeContext ctx)
Description copied from class:EfxBaseListenerExit a parse tree produced byEfxParser.labelType().The default implementation does nothing.
- Specified by:
exitLabelTypein interfaceEfxListener- Overrides:
exitLabelTypein classEfxBaseListener- Parameters:
ctx- the parse tree
-
exitAssetId
public void exitAssetId(EfxParser.AssetIdContext ctx)
Description copied from class:EfxBaseListenerExit a parse tree produced byEfxParser.assetId().The default implementation does nothing.
- Specified by:
exitAssetIdin interfaceEfxListener- Overrides:
exitAssetIdin classEfxBaseListener- Parameters:
ctx- the parse tree
-
exitStandardExpressionBlock
public void exitStandardExpressionBlock(EfxParser.StandardExpressionBlockContext ctx)
Handles a standard expression block in a template line. Most of the work is done by the base class Sdk7EfxExpressionTranslator. After the expression is translated, the result is passed through the renderer.- Specified by:
exitStandardExpressionBlockin interfaceEfxListener- Overrides:
exitStandardExpressionBlockin classEfxBaseListener- Parameters:
ctx- the parse tree
-
exitShorthandContextFieldValueReference
public void exitShorthandContextFieldValueReference(EfxParser.ShorthandContextFieldValueReferenceContext ctx)
Handles the $value shorthand syntax which renders the value of the field declared as context in the current line of the template.- Specified by:
exitShorthandContextFieldValueReferencein interfaceEfxListener- Overrides:
exitShorthandContextFieldValueReferencein classEfxBaseListener- Parameters:
ctx- the parse tree
-
exitContextDeclarationBlock
public void exitContextDeclarationBlock(EfxParser.ContextDeclarationBlockContext ctx)
This method changes the current EFX context. The EFX context is always assumed to be either a Field or a Node. Any predicate included in the EFX context declaration is not relevant and is ignored.- Specified by:
exitContextDeclarationBlockin interfaceEfxListener- Overrides:
exitContextDeclarationBlockin classEfxBaseListener- Parameters:
ctx- the parse tree
-
exitTemplateLine
public void exitTemplateLine(EfxParser.TemplateLineContext ctx)
Template lines- Specified by:
exitTemplateLinein interfaceEfxListener- Overrides:
exitTemplateLinein classEfxBaseListener- Parameters:
ctx- the parse tree
-
-