Class JplagPython3Listener
- All Implemented Interfaces:
Python3Listener,org.antlr.v4.runtime.tree.ParseTreeListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidEnter a parse tree produced byPython3Parser.assert_stmt().voidEnter a parse tree produced byPython3Parser.augassign().voidEnter a parse tree produced byPython3Parser.break_stmt().voidEnter a parse tree produced byPython3Parser.classdef().voidEnter a parse tree produced byPython3Parser.continue_stmt().voidEnter a parse tree produced byPython3Parser.decorated().voidEnter a parse tree produced byPython3Parser.del_stmt().voidEnter a parse tree produced byPython3Parser.dictorsetmaker().voidEnter a parse tree produced byPython3Parser.except_clause().voidEnter a parse tree produced byPython3Parser.for_stmt().voidEnter a parse tree produced byPython3Parser.funcdef().voidEnter a parse tree produced byPython3Parser.if_stmt().voidEnter a parse tree produced byPython3Parser.import_stmt().voidEnter a parse tree produced byPython3Parser.lambdef().voidEnter a parse tree produced byPython3Parser.raise_stmt().voidEnter a parse tree produced byPython3Parser.return_stmt().voidEnter a parse tree produced byPython3Parser.testlist_comp().voidEnter a parse tree produced byPython3Parser.trailer().voidEnter a parse tree produced byPython3Parser.try_stmt().voidEnter a parse tree produced byPython3Parser.while_stmt().voidEnter a parse tree produced byPython3Parser.with_stmt().voidEnter a parse tree produced byPython3Parser.yield_arg().voidEnter a parse tree produced byPython3Parser.yield_stmt().voidExit a parse tree produced byPython3Parser.classdef().voidExit a parse tree produced byPython3Parser.decorated().voidExit a parse tree produced byPython3Parser.except_clause().voidExit a parse tree produced byPython3Parser.for_stmt().voidExit a parse tree produced byPython3Parser.funcdef().voidExit a parse tree produced byPython3Parser.if_stmt().voidExit a parse tree produced byPython3Parser.while_stmt().voidExit a parse tree produced byPython3Parser.with_stmt().voidvisitTerminal(org.antlr.v4.runtime.tree.TerminalNode node) Methods inherited from class de.jplag.python3.grammar.Python3BaseListener
enterAnd_expr, enterAnd_test, enterAnnassign, enterArglist, enterArgument, enterArith_expr, enterAsync_funcdef, enterAsync_stmt, enterAtom, enterAtom_expr, enterComp_for, enterComp_if, enterComp_iter, enterComp_op, enterComparison, enterCompound_stmt, enterDecorator, enterDecorators, enterDotted_as_name, enterDotted_as_names, enterDotted_name, enterEncoding_decl, enterEval_input, enterEveryRule, enterExpr, enterExpr_stmt, enterExprlist, enterFactor, enterFile_input, enterFlow_stmt, enterGlobal_stmt, enterImport_as_name, enterImport_as_names, enterImport_from, enterImport_name, enterLambdef_nocond, enterNonlocal_stmt, enterNot_test, enterOr_test, enterParameters, enterPass_stmt, enterPower, enterShift_expr, enterSimple_stmt, enterSingle_input, enterSliceop, enterSmall_stmt, enterStar_expr, enterStmt, enterSubscript, enterSubscriptlist, enterSuite, enterTerm, enterTest, enterTest_nocond, enterTestlist, enterTestlist_star_expr, enterTfpdef, enterTypedargslist, enterVarargslist, enterVfpdef, enterWith_item, enterXor_expr, enterYield_expr, exitAnd_expr, exitAnd_test, exitAnnassign, exitArglist, exitArgument, exitArith_expr, exitAssert_stmt, exitAsync_funcdef, exitAsync_stmt, exitAtom, exitAtom_expr, exitAugassign, exitBreak_stmt, exitComp_for, exitComp_if, exitComp_iter, exitComp_op, exitComparison, exitCompound_stmt, exitContinue_stmt, exitDecorator, exitDecorators, exitDel_stmt, exitDictorsetmaker, exitDotted_as_name, exitDotted_as_names, exitDotted_name, exitEncoding_decl, exitEval_input, exitEveryRule, exitExpr, exitExpr_stmt, exitExprlist, exitFactor, exitFile_input, exitFlow_stmt, exitGlobal_stmt, exitImport_as_name, exitImport_as_names, exitImport_from, exitImport_name, exitImport_stmt, exitLambdef, exitLambdef_nocond, exitNonlocal_stmt, exitNot_test, exitOr_test, exitParameters, exitPass_stmt, exitPower, exitRaise_stmt, exitReturn_stmt, exitShift_expr, exitSimple_stmt, exitSingle_input, exitSliceop, exitSmall_stmt, exitStar_expr, exitStmt, exitSubscript, exitSubscriptlist, exitSuite, exitTerm, exitTest, exitTest_nocond, exitTestlist, exitTestlist_comp, exitTestlist_star_expr, exitTfpdef, exitTrailer, exitTry_stmt, exitTypedargslist, exitVarargslist, exitVfpdef, exitWith_item, exitXor_expr, exitYield_arg, exitYield_expr, exitYield_stmt, visitErrorNode
-
Constructor Details
-
JplagPython3Listener
-
-
Method Details
-
enterAssert_stmt
Description copied from class:Python3BaseListenerEnter a parse tree produced byPython3Parser.assert_stmt().The default implementation does nothing.
- Specified by:
enterAssert_stmtin interfacePython3Listener- Overrides:
enterAssert_stmtin classPython3BaseListener- Parameters:
ctx- the parse tree
-
enterDecorated
Description copied from class:Python3BaseListenerEnter a parse tree produced byPython3Parser.decorated().The default implementation does nothing.
- Specified by:
enterDecoratedin interfacePython3Listener- Overrides:
enterDecoratedin classPython3BaseListener- Parameters:
ctx- the parse tree
-
exitDecorated
Description copied from class:Python3BaseListenerExit a parse tree produced byPython3Parser.decorated().The default implementation does nothing.
- Specified by:
exitDecoratedin interfacePython3Listener- Overrides:
exitDecoratedin classPython3BaseListener- Parameters:
ctx- the parse tree
-
enterRaise_stmt
Description copied from class:Python3BaseListenerEnter a parse tree produced byPython3Parser.raise_stmt().The default implementation does nothing.
- Specified by:
enterRaise_stmtin interfacePython3Listener- Overrides:
enterRaise_stmtin classPython3BaseListener- Parameters:
ctx- the parse tree
-
enterExcept_clause
Description copied from class:Python3BaseListenerEnter a parse tree produced byPython3Parser.except_clause().The default implementation does nothing.
- Specified by:
enterExcept_clausein interfacePython3Listener- Overrides:
enterExcept_clausein classPython3BaseListener- Parameters:
ctx- the parse tree
-
exitExcept_clause
Description copied from class:Python3BaseListenerExit a parse tree produced byPython3Parser.except_clause().The default implementation does nothing.
- Specified by:
exitExcept_clausein interfacePython3Listener- Overrides:
exitExcept_clausein classPython3BaseListener- Parameters:
ctx- the parse tree
-
enterDictorsetmaker
Description copied from class:Python3BaseListenerEnter a parse tree produced byPython3Parser.dictorsetmaker().The default implementation does nothing.
- Specified by:
enterDictorsetmakerin interfacePython3Listener- Overrides:
enterDictorsetmakerin classPython3BaseListener- Parameters:
ctx- the parse tree
-
enterReturn_stmt
Description copied from class:Python3BaseListenerEnter a parse tree produced byPython3Parser.return_stmt().The default implementation does nothing.
- Specified by:
enterReturn_stmtin interfacePython3Listener- Overrides:
enterReturn_stmtin classPython3BaseListener- Parameters:
ctx- the parse tree
-
enterWhile_stmt
Description copied from class:Python3BaseListenerEnter a parse tree produced byPython3Parser.while_stmt().The default implementation does nothing.
- Specified by:
enterWhile_stmtin interfacePython3Listener- Overrides:
enterWhile_stmtin classPython3BaseListener- Parameters:
ctx- the parse tree
-
exitWhile_stmt
Description copied from class:Python3BaseListenerExit a parse tree produced byPython3Parser.while_stmt().The default implementation does nothing.
- Specified by:
exitWhile_stmtin interfacePython3Listener- Overrides:
exitWhile_stmtin classPython3BaseListener- Parameters:
ctx- the parse tree
-
enterYield_arg
Description copied from class:Python3BaseListenerEnter a parse tree produced byPython3Parser.yield_arg().The default implementation does nothing.
- Specified by:
enterYield_argin interfacePython3Listener- Overrides:
enterYield_argin classPython3BaseListener- Parameters:
ctx- the parse tree
-
enterImport_stmt
Description copied from class:Python3BaseListenerEnter a parse tree produced byPython3Parser.import_stmt().The default implementation does nothing.
- Specified by:
enterImport_stmtin interfacePython3Listener- Overrides:
enterImport_stmtin classPython3BaseListener- Parameters:
ctx- the parse tree
-
enterLambdef
Description copied from class:Python3BaseListenerEnter a parse tree produced byPython3Parser.lambdef().The default implementation does nothing.
- Specified by:
enterLambdefin interfacePython3Listener- Overrides:
enterLambdefin classPython3BaseListener- Parameters:
ctx- the parse tree
-
enterTry_stmt
Description copied from class:Python3BaseListenerEnter a parse tree produced byPython3Parser.try_stmt().The default implementation does nothing.
- Specified by:
enterTry_stmtin interfacePython3Listener- Overrides:
enterTry_stmtin classPython3BaseListener- Parameters:
ctx- the parse tree
-
enterBreak_stmt
Description copied from class:Python3BaseListenerEnter a parse tree produced byPython3Parser.break_stmt().The default implementation does nothing.
- Specified by:
enterBreak_stmtin interfacePython3Listener- Overrides:
enterBreak_stmtin classPython3BaseListener- Parameters:
ctx- the parse tree
-
enterTestlist_comp
Description copied from class:Python3BaseListenerEnter a parse tree produced byPython3Parser.testlist_comp().The default implementation does nothing.
- Specified by:
enterTestlist_compin interfacePython3Listener- Overrides:
enterTestlist_compin classPython3BaseListener- Parameters:
ctx- the parse tree
-
enterIf_stmt
Description copied from class:Python3BaseListenerEnter a parse tree produced byPython3Parser.if_stmt().The default implementation does nothing.
- Specified by:
enterIf_stmtin interfacePython3Listener- Overrides:
enterIf_stmtin classPython3BaseListener- Parameters:
ctx- the parse tree
-
exitIf_stmt
Description copied from class:Python3BaseListenerExit a parse tree produced byPython3Parser.if_stmt().The default implementation does nothing.
- Specified by:
exitIf_stmtin interfacePython3Listener- Overrides:
exitIf_stmtin classPython3BaseListener- Parameters:
ctx- the parse tree
-
enterWith_stmt
Description copied from class:Python3BaseListenerEnter a parse tree produced byPython3Parser.with_stmt().The default implementation does nothing.
- Specified by:
enterWith_stmtin interfacePython3Listener- Overrides:
enterWith_stmtin classPython3BaseListener- Parameters:
ctx- the parse tree
-
exitWith_stmt
Description copied from class:Python3BaseListenerExit a parse tree produced byPython3Parser.with_stmt().The default implementation does nothing.
- Specified by:
exitWith_stmtin interfacePython3Listener- Overrides:
exitWith_stmtin classPython3BaseListener- Parameters:
ctx- the parse tree
-
enterClassdef
Description copied from class:Python3BaseListenerEnter a parse tree produced byPython3Parser.classdef().The default implementation does nothing.
- Specified by:
enterClassdefin interfacePython3Listener- Overrides:
enterClassdefin classPython3BaseListener- Parameters:
ctx- the parse tree
-
exitClassdef
Description copied from class:Python3BaseListenerExit a parse tree produced byPython3Parser.classdef().The default implementation does nothing.
- Specified by:
exitClassdefin interfacePython3Listener- Overrides:
exitClassdefin classPython3BaseListener- Parameters:
ctx- the parse tree
-
enterTrailer
Description copied from class:Python3BaseListenerEnter a parse tree produced byPython3Parser.trailer().The default implementation does nothing.
- Specified by:
enterTrailerin interfacePython3Listener- Overrides:
enterTrailerin classPython3BaseListener- Parameters:
ctx- the parse tree
-
enterFuncdef
Description copied from class:Python3BaseListenerEnter a parse tree produced byPython3Parser.funcdef().The default implementation does nothing.
- Specified by:
enterFuncdefin interfacePython3Listener- Overrides:
enterFuncdefin classPython3BaseListener- Parameters:
ctx- the parse tree
-
exitFuncdef
Description copied from class:Python3BaseListenerExit a parse tree produced byPython3Parser.funcdef().The default implementation does nothing.
- Specified by:
exitFuncdefin interfacePython3Listener- Overrides:
exitFuncdefin classPython3BaseListener- Parameters:
ctx- the parse tree
-
enterAugassign
Description copied from class:Python3BaseListenerEnter a parse tree produced byPython3Parser.augassign().The default implementation does nothing.
- Specified by:
enterAugassignin interfacePython3Listener- Overrides:
enterAugassignin classPython3BaseListener- Parameters:
ctx- the parse tree
-
enterYield_stmt
Description copied from class:Python3BaseListenerEnter a parse tree produced byPython3Parser.yield_stmt().The default implementation does nothing.
- Specified by:
enterYield_stmtin interfacePython3Listener- Overrides:
enterYield_stmtin classPython3BaseListener- Parameters:
ctx- the parse tree
-
enterContinue_stmt
Description copied from class:Python3BaseListenerEnter a parse tree produced byPython3Parser.continue_stmt().The default implementation does nothing.
- Specified by:
enterContinue_stmtin interfacePython3Listener- Overrides:
enterContinue_stmtin classPython3BaseListener- Parameters:
ctx- the parse tree
-
enterFor_stmt
Description copied from class:Python3BaseListenerEnter a parse tree produced byPython3Parser.for_stmt().The default implementation does nothing.
- Specified by:
enterFor_stmtin interfacePython3Listener- Overrides:
enterFor_stmtin classPython3BaseListener- Parameters:
ctx- the parse tree
-
exitFor_stmt
Description copied from class:Python3BaseListenerExit a parse tree produced byPython3Parser.for_stmt().The default implementation does nothing.
- Specified by:
exitFor_stmtin interfacePython3Listener- Overrides:
exitFor_stmtin classPython3BaseListener- Parameters:
ctx- the parse tree
-
enterDel_stmt
Description copied from class:Python3BaseListenerEnter a parse tree produced byPython3Parser.del_stmt().The default implementation does nothing.
- Specified by:
enterDel_stmtin interfacePython3Listener- Overrides:
enterDel_stmtin classPython3BaseListener- Parameters:
ctx- the parse tree
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node) Description copied from class:Python3BaseListenerThe default implementation does nothing.
- Specified by:
visitTerminalin interfaceorg.antlr.v4.runtime.tree.ParseTreeListener- Overrides:
visitTerminalin classPython3BaseListener
-