Package ca.phon.phonex
Class PhonexCompiler2
java.lang.Object
ca.phon.phonex.PhonexCompiler2
- All Implemented Interfaces:
PhonexListener
,org.antlr.v4.runtime.tree.ParseTreeListener
Phonex compiler.
This class is used internally by PhonexPattern to compile phonex
strings into and FSA which can process IPAElements.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Enter a parse tree produced by theAnyElementClass
labeled alternative inPhonexParser.predefined_phone_class()
.void
Enter a parse tree produced byPhonexParser.argument()
.void
Enter a parse tree produced byPhonexParser.argument_list()
.void
Enter a parse tree produced by theAtLeastBoundedQuantifier
labeled alternative inPhonexParser.bounded_quantifier()
.void
Enter a parse tree produced by theAtMostBoundedQuantifier
labeled alternative inPhonexParser.bounded_quantifier()
.void
Enter a parse tree produced byPhonexParser.back_reference()
.void
Enter a parse tree produced by theBackReference
labeled alternative inPhonexParser.matcher()
.void
Enter a parse tree produced byPhonexParser.base_phone_matcher()
.void
Enter a parse tree produced byPhonexParser.baseexpr()
.void
Enter a parse tree produced by theBaseMatcher
labeled alternative inPhonexParser.matcher()
.void
Enter a parse tree produced by theBetweenBoundedQuantifier
labeled alternative inPhonexParser.bounded_quantifier()
.void
Enter a parse tree produced byPhonexParser.boundary_matcher()
.void
Enter a parse tree produced by theBoundedQuantifier
labeled alternative inPhonexParser.quantifier()
.void
Enter a parse tree produced by theCapturingGroup
labeled alternative inPhonexParser.group()
.void
Enter a parse tree produced byPhonexParser.class_matcher()
.void
Enter a parse tree produced byPhonexParser.compound_phone_matcher()
.void
Enter a parse tree produced by theCompoundPhoneMatcher
labeled alternative inPhonexParser.base_matcher()
.void
Enter a parse tree produced by theDiacriticMatcher
labeled alternative inPhonexParser.plugin_matcher()
.void
Enter a parse tree produced byPhonexParser.escaped_char()
.void
Enter a parse tree produced by theEscapedClass
labeled alternative inPhonexParser.predefined_phone_class()
.void
enterEveryRule
(org.antlr.v4.runtime.ParserRuleContext ctx) void
Enter a parse tree produced by theExactBoundedQuantifier
labeled alternative inPhonexParser.bounded_quantifier()
.void
Enter a parse tree produced byPhonexParser.expr()
.void
Enter a parse tree produced byPhonexParser.exprele()
.void
Enter a parse tree produced byPhonexParser.feature_set_matcher()
.void
Enter a parse tree produced byPhonexParser.flags()
.void
Enter a parse tree produced by theFromSyllableBounds
labeled alternative inPhonexParser.syllable_bounds()
.void
Enter a parse tree produced by theFullSyllableBounds
labeled alternative inPhonexParser.syllable_bounds()
.void
Enter a parse tree produced byPhonexParser.group_name()
.void
Enter a parse tree produced by theHalflongMatcher
labeled alternative inPhonexParser.plugin_matcher()
.void
Enter a parse tree produced byPhonexParser.hex_value()
.void
Enter a parse tree produced byPhonexParser.identifier()
.void
Enter a parse tree produced by theLongMatcher
labeled alternative inPhonexParser.plugin_matcher()
.void
Enter a parse tree produced by theLookAheadGroup
labeled alternative inPhonexParser.group()
.void
Enter a parse tree produced by theLookBehindGroup
labeled alternative inPhonexParser.group()
.void
Enter a parse tree produced by theNamedGroup
labeled alternative inPhonexParser.group()
.void
Enter a parse tree produced byPhonexParser.negatable_identifier()
.void
Enter a parse tree produced by theNonCapturingGroup
labeled alternative inPhonexParser.group()
.void
Enter a parse tree produced byPhonexParser.phone_matcher()
.void
Enter a parse tree produced by thePhoneMatcher
labeled alternative inPhonexParser.base_matcher()
.void
Enter a parse tree produced by thePluginMatcher
labeled alternative inPhonexParser.plugin_matcher()
.void
Enter a parse tree produced byPhonexParser.regex_matcher()
.void
Enter a parse tree produced byPhonexParser.sctype()
.void
Enter a parse tree produced by theScTypePluginMatcher
labeled alternative inPhonexParser.plugin_matcher()
.void
Enter a parse tree produced by theSingleQuantifier
labeled alternative inPhonexParser.quantifier()
.void
Enter a parse tree produced by theSingleSyllableBounds
labeled alternative inPhonexParser.syllable_bounds()
.void
Enter a parse tree produced byPhonexParser.stress_type()
.void
Enter a parse tree produced by theStressTypeMatcher
labeled alternative inPhonexParser.plugin_matcher()
.void
Enter a parse tree produced byPhonexParser.syllable_matcher()
.void
Enter a parse tree produced by theSyllableMatcher
labeled alternative inPhonexParser.matcher()
.void
Enter a parse tree produced by theToSyllableBounds
labeled alternative inPhonexParser.syllable_bounds()
.void
Exit a parse tree produced by theAnyElementClass
labeled alternative inPhonexParser.predefined_phone_class()
.void
Exit a parse tree produced byPhonexParser.argument()
.void
Exit a parse tree produced byPhonexParser.argument_list()
.void
Exit a parse tree produced by theAtLeastBoundedQuantifier
labeled alternative inPhonexParser.bounded_quantifier()
.void
Exit a parse tree produced by theAtMostBoundedQuantifier
labeled alternative inPhonexParser.bounded_quantifier()
.void
Exit a parse tree produced byPhonexParser.back_reference()
.void
Exit a parse tree produced by theBackReference
labeled alternative inPhonexParser.matcher()
.void
Exit a parse tree produced byPhonexParser.base_phone_matcher()
.void
Exit a parse tree produced byPhonexParser.baseexpr()
.void
Exit a parse tree produced by theBaseMatcher
labeled alternative inPhonexParser.matcher()
.void
Exit a parse tree produced by theBetweenBoundedQuantifier
labeled alternative inPhonexParser.bounded_quantifier()
.void
Exit a parse tree produced byPhonexParser.boundary_matcher()
.void
Exit a parse tree produced by theBoundedQuantifier
labeled alternative inPhonexParser.quantifier()
.void
Exit a parse tree produced by theCapturingGroup
labeled alternative inPhonexParser.group()
.void
Exit a parse tree produced byPhonexParser.class_matcher()
.void
Exit a parse tree produced byPhonexParser.compound_phone_matcher()
.void
Exit a parse tree produced by theCompoundPhoneMatcher
labeled alternative inPhonexParser.base_matcher()
.void
Exit a parse tree produced by theDiacriticMatcher
labeled alternative inPhonexParser.plugin_matcher()
.void
Exit a parse tree produced byPhonexParser.escaped_char()
.void
Exit a parse tree produced by theEscapedClass
labeled alternative inPhonexParser.predefined_phone_class()
.void
exitEveryRule
(org.antlr.v4.runtime.ParserRuleContext ctx) void
Exit a parse tree produced by theExactBoundedQuantifier
labeled alternative inPhonexParser.bounded_quantifier()
.void
Exit a parse tree produced byPhonexParser.expr()
.void
Exit a parse tree produced byPhonexParser.exprele()
.void
Exit a parse tree produced byPhonexParser.feature_set_matcher()
.void
Exit a parse tree produced byPhonexParser.flags()
.void
Exit a parse tree produced by theFromSyllableBounds
labeled alternative inPhonexParser.syllable_bounds()
.void
Exit a parse tree produced by theFullSyllableBounds
labeled alternative inPhonexParser.syllable_bounds()
.void
Exit a parse tree produced byPhonexParser.group_name()
.void
Exit a parse tree produced by theHalflongMatcher
labeled alternative inPhonexParser.plugin_matcher()
.void
Exit a parse tree produced byPhonexParser.hex_value()
.void
Exit a parse tree produced byPhonexParser.identifier()
.void
Exit a parse tree produced by theLongMatcher
labeled alternative inPhonexParser.plugin_matcher()
.void
Exit a parse tree produced by theLookAheadGroup
labeled alternative inPhonexParser.group()
.void
Exit a parse tree produced by theLookBehindGroup
labeled alternative inPhonexParser.group()
.void
Exit a parse tree produced by theNamedGroup
labeled alternative inPhonexParser.group()
.void
Exit a parse tree produced byPhonexParser.negatable_identifier()
.void
Exit a parse tree produced by theNonCapturingGroup
labeled alternative inPhonexParser.group()
.void
Exit a parse tree produced byPhonexParser.phone_matcher()
.void
Exit a parse tree produced by thePhoneMatcher
labeled alternative inPhonexParser.base_matcher()
.void
Exit a parse tree produced by thePluginMatcher
labeled alternative inPhonexParser.plugin_matcher()
.void
Exit a parse tree produced byPhonexParser.regex_matcher()
.void
Exit a parse tree produced byPhonexParser.sctype()
.void
Exit a parse tree produced by theScTypePluginMatcher
labeled alternative inPhonexParser.plugin_matcher()
.void
Exit a parse tree produced by theSingleQuantifier
labeled alternative inPhonexParser.quantifier()
.void
Exit a parse tree produced by theSingleSyllableBounds
labeled alternative inPhonexParser.syllable_bounds()
.void
Exit a parse tree produced byPhonexParser.stress_type()
.void
Exit a parse tree produced by theStressTypeMatcher
labeled alternative inPhonexParser.plugin_matcher()
.void
Exit a parse tree produced byPhonexParser.syllable_matcher()
.void
Exit a parse tree produced by theSyllableMatcher
labeled alternative inPhonexParser.matcher()
.void
Exit a parse tree produced by theToSyllableBounds
labeled alternative inPhonexParser.syllable_bounds()
.int
getFlags()
getFsa()
Return top element on matcher stack, useful when compiling single-element expressionsvoid
visitErrorNode
(org.antlr.v4.runtime.tree.ErrorNode node) void
visitTerminal
(org.antlr.v4.runtime.tree.TerminalNode node) void
walkTree
(org.antlr.v4.runtime.tree.ParseTree tree) Walk the parse tree produced by PhonexParser
-
Constructor Details
-
PhonexCompiler2
public PhonexCompiler2()
-
-
Method Details
-
getFsa
-
getFlags
public int getFlags() -
getTopMatcher
Return top element on matcher stack, useful when compiling single-element expressions -
enterExpr
Description copied from interface:PhonexListener
Enter a parse tree produced byPhonexParser.expr()
.- Specified by:
enterExpr
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitExpr
Description copied from interface:PhonexListener
Exit a parse tree produced byPhonexParser.expr()
.- Specified by:
exitExpr
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterFlags
Description copied from interface:PhonexListener
Enter a parse tree produced byPhonexParser.flags()
.- Specified by:
enterFlags
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitFlags
Description copied from interface:PhonexListener
Exit a parse tree produced byPhonexParser.flags()
.- Specified by:
exitFlags
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterBaseexpr
Description copied from interface:PhonexListener
Enter a parse tree produced byPhonexParser.baseexpr()
.- Specified by:
enterBaseexpr
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitBaseexpr
Description copied from interface:PhonexListener
Exit a parse tree produced byPhonexParser.baseexpr()
.- Specified by:
exitBaseexpr
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterExprele
Description copied from interface:PhonexListener
Enter a parse tree produced byPhonexParser.exprele()
.- Specified by:
enterExprele
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitExprele
Description copied from interface:PhonexListener
Exit a parse tree produced byPhonexParser.exprele()
.- Specified by:
exitExprele
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterCapturingGroup
Description copied from interface:PhonexListener
Enter a parse tree produced by theCapturingGroup
labeled alternative inPhonexParser.group()
.- Specified by:
enterCapturingGroup
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitCapturingGroup
Description copied from interface:PhonexListener
Exit a parse tree produced by theCapturingGroup
labeled alternative inPhonexParser.group()
.- Specified by:
exitCapturingGroup
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterNonCapturingGroup
Description copied from interface:PhonexListener
Enter a parse tree produced by theNonCapturingGroup
labeled alternative inPhonexParser.group()
.- Specified by:
enterNonCapturingGroup
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitNonCapturingGroup
Description copied from interface:PhonexListener
Exit a parse tree produced by theNonCapturingGroup
labeled alternative inPhonexParser.group()
.- Specified by:
exitNonCapturingGroup
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterNamedGroup
Description copied from interface:PhonexListener
Enter a parse tree produced by theNamedGroup
labeled alternative inPhonexParser.group()
.- Specified by:
enterNamedGroup
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitNamedGroup
Description copied from interface:PhonexListener
Exit a parse tree produced by theNamedGroup
labeled alternative inPhonexParser.group()
.- Specified by:
exitNamedGroup
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterLookBehindGroup
Description copied from interface:PhonexListener
Enter a parse tree produced by theLookBehindGroup
labeled alternative inPhonexParser.group()
.- Specified by:
enterLookBehindGroup
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitLookBehindGroup
Description copied from interface:PhonexListener
Exit a parse tree produced by theLookBehindGroup
labeled alternative inPhonexParser.group()
.- Specified by:
exitLookBehindGroup
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterLookAheadGroup
Description copied from interface:PhonexListener
Enter a parse tree produced by theLookAheadGroup
labeled alternative inPhonexParser.group()
.- Specified by:
enterLookAheadGroup
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitLookAheadGroup
Description copied from interface:PhonexListener
Exit a parse tree produced by theLookAheadGroup
labeled alternative inPhonexParser.group()
.- Specified by:
exitLookAheadGroup
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterGroup_name
Description copied from interface:PhonexListener
Enter a parse tree produced byPhonexParser.group_name()
.- Specified by:
enterGroup_name
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitGroup_name
Description copied from interface:PhonexListener
Exit a parse tree produced byPhonexParser.group_name()
.- Specified by:
exitGroup_name
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterBaseMatcher
Description copied from interface:PhonexListener
Enter a parse tree produced by theBaseMatcher
labeled alternative inPhonexParser.matcher()
.- Specified by:
enterBaseMatcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitBaseMatcher
Description copied from interface:PhonexListener
Exit a parse tree produced by theBaseMatcher
labeled alternative inPhonexParser.matcher()
.- Specified by:
exitBaseMatcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterBackReference
Description copied from interface:PhonexListener
Enter a parse tree produced by theBackReference
labeled alternative inPhonexParser.matcher()
.- Specified by:
enterBackReference
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitBackReference
Description copied from interface:PhonexListener
Exit a parse tree produced by theBackReference
labeled alternative inPhonexParser.matcher()
.- Specified by:
exitBackReference
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterSyllableMatcher
Description copied from interface:PhonexListener
Enter a parse tree produced by theSyllableMatcher
labeled alternative inPhonexParser.matcher()
.- Specified by:
enterSyllableMatcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitSyllableMatcher
Description copied from interface:PhonexListener
Exit a parse tree produced by theSyllableMatcher
labeled alternative inPhonexParser.matcher()
.- Specified by:
exitSyllableMatcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterPhone_matcher
Description copied from interface:PhonexListener
Enter a parse tree produced byPhonexParser.phone_matcher()
.- Specified by:
enterPhone_matcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitPhone_matcher
Description copied from interface:PhonexListener
Exit a parse tree produced byPhonexParser.phone_matcher()
.- Specified by:
exitPhone_matcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterCompoundPhoneMatcher
Description copied from interface:PhonexListener
Enter a parse tree produced by theCompoundPhoneMatcher
labeled alternative inPhonexParser.base_matcher()
.- Specified by:
enterCompoundPhoneMatcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitCompoundPhoneMatcher
Description copied from interface:PhonexListener
Exit a parse tree produced by theCompoundPhoneMatcher
labeled alternative inPhonexParser.base_matcher()
.- Specified by:
exitCompoundPhoneMatcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterSyllable_matcher
Description copied from interface:PhonexListener
Enter a parse tree produced byPhonexParser.syllable_matcher()
.- Specified by:
enterSyllable_matcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitSyllable_matcher
Description copied from interface:PhonexListener
Exit a parse tree produced byPhonexParser.syllable_matcher()
.- Specified by:
exitSyllable_matcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterSingleSyllableBounds
Description copied from interface:PhonexListener
Enter a parse tree produced by theSingleSyllableBounds
labeled alternative inPhonexParser.syllable_bounds()
.- Specified by:
enterSingleSyllableBounds
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitSingleSyllableBounds
Description copied from interface:PhonexListener
Exit a parse tree produced by theSingleSyllableBounds
labeled alternative inPhonexParser.syllable_bounds()
.- Specified by:
exitSingleSyllableBounds
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterFullSyllableBounds
Description copied from interface:PhonexListener
Enter a parse tree produced by theFullSyllableBounds
labeled alternative inPhonexParser.syllable_bounds()
.- Specified by:
enterFullSyllableBounds
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitFullSyllableBounds
Description copied from interface:PhonexListener
Exit a parse tree produced by theFullSyllableBounds
labeled alternative inPhonexParser.syllable_bounds()
.- Specified by:
exitFullSyllableBounds
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterFromSyllableBounds
Description copied from interface:PhonexListener
Enter a parse tree produced by theFromSyllableBounds
labeled alternative inPhonexParser.syllable_bounds()
.- Specified by:
enterFromSyllableBounds
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitFromSyllableBounds
Description copied from interface:PhonexListener
Exit a parse tree produced by theFromSyllableBounds
labeled alternative inPhonexParser.syllable_bounds()
.- Specified by:
exitFromSyllableBounds
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterToSyllableBounds
Description copied from interface:PhonexListener
Enter a parse tree produced by theToSyllableBounds
labeled alternative inPhonexParser.syllable_bounds()
.- Specified by:
enterToSyllableBounds
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitToSyllableBounds
Description copied from interface:PhonexListener
Exit a parse tree produced by theToSyllableBounds
labeled alternative inPhonexParser.syllable_bounds()
.- Specified by:
exitToSyllableBounds
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterCompound_phone_matcher
Description copied from interface:PhonexListener
Enter a parse tree produced byPhonexParser.compound_phone_matcher()
.- Specified by:
enterCompound_phone_matcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitCompound_phone_matcher
Description copied from interface:PhonexListener
Exit a parse tree produced byPhonexParser.compound_phone_matcher()
.- Specified by:
exitCompound_phone_matcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterPhoneMatcher
Description copied from interface:PhonexListener
Enter a parse tree produced by thePhoneMatcher
labeled alternative inPhonexParser.base_matcher()
.- Specified by:
enterPhoneMatcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitPhoneMatcher
Description copied from interface:PhonexListener
Exit a parse tree produced by thePhoneMatcher
labeled alternative inPhonexParser.base_matcher()
.- Specified by:
exitPhoneMatcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterBase_phone_matcher
Description copied from interface:PhonexListener
Enter a parse tree produced byPhonexParser.base_phone_matcher()
.- Specified by:
enterBase_phone_matcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitBase_phone_matcher
Description copied from interface:PhonexListener
Exit a parse tree produced byPhonexParser.base_phone_matcher()
.- Specified by:
exitBase_phone_matcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterHex_value
Description copied from interface:PhonexListener
Enter a parse tree produced byPhonexParser.hex_value()
.- Specified by:
enterHex_value
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitHex_value
Description copied from interface:PhonexListener
Exit a parse tree produced byPhonexParser.hex_value()
.- Specified by:
exitHex_value
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterEscaped_char
Description copied from interface:PhonexListener
Enter a parse tree produced byPhonexParser.escaped_char()
.- Specified by:
enterEscaped_char
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitEscaped_char
Description copied from interface:PhonexListener
Exit a parse tree produced byPhonexParser.escaped_char()
.- Specified by:
exitEscaped_char
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterClass_matcher
Description copied from interface:PhonexListener
Enter a parse tree produced byPhonexParser.class_matcher()
.- Specified by:
enterClass_matcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitClass_matcher
Description copied from interface:PhonexListener
Exit a parse tree produced byPhonexParser.class_matcher()
.- Specified by:
exitClass_matcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterPluginMatcher
Description copied from interface:PhonexListener
Enter a parse tree produced by thePluginMatcher
labeled alternative inPhonexParser.plugin_matcher()
.- Specified by:
enterPluginMatcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitPluginMatcher
Description copied from interface:PhonexListener
Exit a parse tree produced by thePluginMatcher
labeled alternative inPhonexParser.plugin_matcher()
.- Specified by:
exitPluginMatcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterScTypePluginMatcher
Description copied from interface:PhonexListener
Enter a parse tree produced by theScTypePluginMatcher
labeled alternative inPhonexParser.plugin_matcher()
.- Specified by:
enterScTypePluginMatcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitScTypePluginMatcher
Description copied from interface:PhonexListener
Exit a parse tree produced by theScTypePluginMatcher
labeled alternative inPhonexParser.plugin_matcher()
.- Specified by:
exitScTypePluginMatcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterDiacriticMatcher
Description copied from interface:PhonexListener
Enter a parse tree produced by theDiacriticMatcher
labeled alternative inPhonexParser.plugin_matcher()
.- Specified by:
enterDiacriticMatcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitDiacriticMatcher
Description copied from interface:PhonexListener
Exit a parse tree produced by theDiacriticMatcher
labeled alternative inPhonexParser.plugin_matcher()
.- Specified by:
exitDiacriticMatcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterStressTypeMatcher
Description copied from interface:PhonexListener
Enter a parse tree produced by theStressTypeMatcher
labeled alternative inPhonexParser.plugin_matcher()
.- Specified by:
enterStressTypeMatcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitStressTypeMatcher
Description copied from interface:PhonexListener
Exit a parse tree produced by theStressTypeMatcher
labeled alternative inPhonexParser.plugin_matcher()
.- Specified by:
exitStressTypeMatcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterLongMatcher
Description copied from interface:PhonexListener
Enter a parse tree produced by theLongMatcher
labeled alternative inPhonexParser.plugin_matcher()
.- Specified by:
enterLongMatcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitLongMatcher
Description copied from interface:PhonexListener
Exit a parse tree produced by theLongMatcher
labeled alternative inPhonexParser.plugin_matcher()
.- Specified by:
exitLongMatcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterHalflongMatcher
Description copied from interface:PhonexListener
Enter a parse tree produced by theHalflongMatcher
labeled alternative inPhonexParser.plugin_matcher()
.- Specified by:
enterHalflongMatcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitHalflongMatcher
Description copied from interface:PhonexListener
Exit a parse tree produced by theHalflongMatcher
labeled alternative inPhonexParser.plugin_matcher()
.- Specified by:
exitHalflongMatcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterArgument
Description copied from interface:PhonexListener
Enter a parse tree produced byPhonexParser.argument()
.- Specified by:
enterArgument
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitArgument
Description copied from interface:PhonexListener
Exit a parse tree produced byPhonexParser.argument()
.- Specified by:
exitArgument
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterArgument_list
Description copied from interface:PhonexListener
Enter a parse tree produced byPhonexParser.argument_list()
.- Specified by:
enterArgument_list
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitArgument_list
Description copied from interface:PhonexListener
Exit a parse tree produced byPhonexParser.argument_list()
.- Specified by:
exitArgument_list
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterBack_reference
Description copied from interface:PhonexListener
Enter a parse tree produced byPhonexParser.back_reference()
.- Specified by:
enterBack_reference
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitBack_reference
Description copied from interface:PhonexListener
Exit a parse tree produced byPhonexParser.back_reference()
.- Specified by:
exitBack_reference
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterFeature_set_matcher
Description copied from interface:PhonexListener
Enter a parse tree produced byPhonexParser.feature_set_matcher()
.- Specified by:
enterFeature_set_matcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitFeature_set_matcher
Description copied from interface:PhonexListener
Exit a parse tree produced byPhonexParser.feature_set_matcher()
.- Specified by:
exitFeature_set_matcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterIdentifier
Description copied from interface:PhonexListener
Enter a parse tree produced byPhonexParser.identifier()
.- Specified by:
enterIdentifier
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitIdentifier
Description copied from interface:PhonexListener
Exit a parse tree produced byPhonexParser.identifier()
.- Specified by:
exitIdentifier
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterNegatable_identifier
Description copied from interface:PhonexListener
Enter a parse tree produced byPhonexParser.negatable_identifier()
.- Specified by:
enterNegatable_identifier
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitNegatable_identifier
Description copied from interface:PhonexListener
Exit a parse tree produced byPhonexParser.negatable_identifier()
.- Specified by:
exitNegatable_identifier
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterSingleQuantifier
Description copied from interface:PhonexListener
Enter a parse tree produced by theSingleQuantifier
labeled alternative inPhonexParser.quantifier()
.- Specified by:
enterSingleQuantifier
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitSingleQuantifier
Description copied from interface:PhonexListener
Exit a parse tree produced by theSingleQuantifier
labeled alternative inPhonexParser.quantifier()
.- Specified by:
exitSingleQuantifier
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterBoundedQuantifier
Description copied from interface:PhonexListener
Enter a parse tree produced by theBoundedQuantifier
labeled alternative inPhonexParser.quantifier()
.- Specified by:
enterBoundedQuantifier
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitBoundedQuantifier
Description copied from interface:PhonexListener
Exit a parse tree produced by theBoundedQuantifier
labeled alternative inPhonexParser.quantifier()
.- Specified by:
exitBoundedQuantifier
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterExactBoundedQuantifier
Description copied from interface:PhonexListener
Enter a parse tree produced by theExactBoundedQuantifier
labeled alternative inPhonexParser.bounded_quantifier()
.- Specified by:
enterExactBoundedQuantifier
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitExactBoundedQuantifier
Description copied from interface:PhonexListener
Exit a parse tree produced by theExactBoundedQuantifier
labeled alternative inPhonexParser.bounded_quantifier()
.- Specified by:
exitExactBoundedQuantifier
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterAtLeastBoundedQuantifier
Description copied from interface:PhonexListener
Enter a parse tree produced by theAtLeastBoundedQuantifier
labeled alternative inPhonexParser.bounded_quantifier()
.- Specified by:
enterAtLeastBoundedQuantifier
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitAtLeastBoundedQuantifier
Description copied from interface:PhonexListener
Exit a parse tree produced by theAtLeastBoundedQuantifier
labeled alternative inPhonexParser.bounded_quantifier()
.- Specified by:
exitAtLeastBoundedQuantifier
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterAtMostBoundedQuantifier
Description copied from interface:PhonexListener
Enter a parse tree produced by theAtMostBoundedQuantifier
labeled alternative inPhonexParser.bounded_quantifier()
.- Specified by:
enterAtMostBoundedQuantifier
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitAtMostBoundedQuantifier
Description copied from interface:PhonexListener
Exit a parse tree produced by theAtMostBoundedQuantifier
labeled alternative inPhonexParser.bounded_quantifier()
.- Specified by:
exitAtMostBoundedQuantifier
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterBetweenBoundedQuantifier
Description copied from interface:PhonexListener
Enter a parse tree produced by theBetweenBoundedQuantifier
labeled alternative inPhonexParser.bounded_quantifier()
.- Specified by:
enterBetweenBoundedQuantifier
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitBetweenBoundedQuantifier
Description copied from interface:PhonexListener
Exit a parse tree produced by theBetweenBoundedQuantifier
labeled alternative inPhonexParser.bounded_quantifier()
.- Specified by:
exitBetweenBoundedQuantifier
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterAnyElementClass
Description copied from interface:PhonexListener
Enter a parse tree produced by theAnyElementClass
labeled alternative inPhonexParser.predefined_phone_class()
.- Specified by:
enterAnyElementClass
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitAnyElementClass
Description copied from interface:PhonexListener
Exit a parse tree produced by theAnyElementClass
labeled alternative inPhonexParser.predefined_phone_class()
.- Specified by:
exitAnyElementClass
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterEscapedClass
Description copied from interface:PhonexListener
Enter a parse tree produced by theEscapedClass
labeled alternative inPhonexParser.predefined_phone_class()
.- Specified by:
enterEscapedClass
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitEscapedClass
Description copied from interface:PhonexListener
Exit a parse tree produced by theEscapedClass
labeled alternative inPhonexParser.predefined_phone_class()
.- Specified by:
exitEscapedClass
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterBoundary_matcher
Description copied from interface:PhonexListener
Enter a parse tree produced byPhonexParser.boundary_matcher()
.- Specified by:
enterBoundary_matcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitBoundary_matcher
Description copied from interface:PhonexListener
Exit a parse tree produced byPhonexParser.boundary_matcher()
.- Specified by:
exitBoundary_matcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterStress_type
Description copied from interface:PhonexListener
Enter a parse tree produced byPhonexParser.stress_type()
.- Specified by:
enterStress_type
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitStress_type
Description copied from interface:PhonexListener
Exit a parse tree produced byPhonexParser.stress_type()
.- Specified by:
exitStress_type
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterSctype
Description copied from interface:PhonexListener
Enter a parse tree produced byPhonexParser.sctype()
.- Specified by:
enterSctype
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitSctype
Description copied from interface:PhonexListener
Exit a parse tree produced byPhonexParser.sctype()
.- Specified by:
exitSctype
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
enterRegex_matcher
Description copied from interface:PhonexListener
Enter a parse tree produced byPhonexParser.regex_matcher()
.- Specified by:
enterRegex_matcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
exitRegex_matcher
Description copied from interface:PhonexListener
Exit a parse tree produced byPhonexParser.regex_matcher()
.- Specified by:
exitRegex_matcher
in interfacePhonexListener
- Parameters:
ctx
- the parse tree
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node) - Specified by:
visitTerminal
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node) - Specified by:
visitErrorNode
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) - Specified by:
enterEveryRule
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) - Specified by:
exitEveryRule
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
walkTree
public void walkTree(org.antlr.v4.runtime.tree.ParseTree tree) Walk the parse tree produced by PhonexParser
-