Package net.lizhao.scriq.py
Interface Python3Listener
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeListener
- All Known Implementing Classes:
Python3BaseListener
public interface Python3Listener
extends org.antlr.v4.runtime.tree.ParseTreeListener
This interface defines a complete listener for a parse tree produced by
Python3Parser.-
Method Summary
Modifier and TypeMethodDescriptionvoidEnter a parse tree produced by theadditiveExprlabeled alternative inPython3Parser.expr().voidEnter a parse tree produced by theandExprlabeled alternative inPython3Parser.expr().voidEnter a parse tree produced byPython3Parser.arguments().voidEnter a parse tree produced byPython3Parser.array().voidEnter a parse tree produced by thearrayExprlabeled alternative inPython3Parser.expr().voidEnter a parse tree produced byPython3Parser.assignment_stmt().voidEnter a parse tree produced byPython3Parser.atom_expr().voidEnter a parse tree produced by theatomExpExprlabeled alternative inPython3Parser.expr().voidEnter a parse tree produced by theatomExprlabeled alternative inPython3Parser.expr().voidEnter a parse tree produced byPython3Parser.block().voidEnter a parse tree produced by thebooleanAtomlabeled alternative inPython3Parser.atom().voidEnter a parse tree produced byPython3Parser.break_stmt().voidEnter a parse tree produced byPython3Parser.compound_stmt().voidEnter a parse tree produced byPython3Parser.continue_stmt().voidEnter a parse tree produced byPython3Parser.dotted_as_name().voidEnter a parse tree produced byPython3Parser.dotted_as_names().voidEnter a parse tree produced byPython3Parser.dotted_name().voidEnter a parse tree produced by theequalityExprlabeled alternative inPython3Parser.expr().voidEnter a parse tree produced byPython3Parser.flow_stmt().voidEnter a parse tree produced byPython3Parser.funcCall().voidEnter a parse tree produced by thefuncExprlabeled alternative inPython3Parser.expr().voidEnter a parse tree produced byPython3Parser.if_stmt().voidEnter a parse tree produced byPython3Parser.import_as_name().voidEnter a parse tree produced byPython3Parser.import_as_names().voidEnter a parse tree produced byPython3Parser.import_from().voidEnter a parse tree produced byPython3Parser.import_name().voidEnter a parse tree produced byPython3Parser.import_stmt().voidEnter a parse tree produced by themultiplicationExprlabeled alternative inPython3Parser.expr().voidEnter a parse tree produced by thenameAtomlabeled alternative inPython3Parser.atom().voidEnter a parse tree produced by thenilAtomlabeled alternative inPython3Parser.atom().voidEnter a parse tree produced by thenotExprlabeled alternative inPython3Parser.expr().voidEnter a parse tree produced by thenumberAtomlabeled alternative inPython3Parser.atom().voidEnter a parse tree produced by theorExprlabeled alternative inPython3Parser.expr().voidEnter a parse tree produced by theparExprlabeled alternative inPython3Parser.atom().voidEnter a parse tree produced by thepowExprlabeled alternative inPython3Parser.expr().voidEnter a parse tree produced byPython3Parser.print_stmt().voidEnter a parse tree produced by therelationalExprlabeled alternative inPython3Parser.expr().voidEnter a parse tree produced byPython3Parser.return_stmt().voidEnter a parse tree produced byPython3Parser.simple_stmt().voidEnter a parse tree produced byPython3Parser.sliceop().voidEnter a parse tree produced byPython3Parser.small_stmt().voidEnter a parse tree produced byPython3Parser.source().voidEnter a parse tree produced byPython3Parser.stmt().voidEnter a parse tree produced by thestringAtomlabeled alternative inPython3Parser.atom().voidEnter a parse tree produced byPython3Parser.subscript_().voidEnter a parse tree produced byPython3Parser.subscriptlist().voidEnter a parse tree produced byPython3Parser.test().voidEnter a parse tree produced byPython3Parser.test_block().voidEnter a parse tree produced by theunaryMinusExprlabeled alternative inPython3Parser.expr().voidEnter a parse tree produced byPython3Parser.while_stmt().voidExit a parse tree produced by theadditiveExprlabeled alternative inPython3Parser.expr().voidExit a parse tree produced by theandExprlabeled alternative inPython3Parser.expr().voidExit a parse tree produced byPython3Parser.arguments().voidExit a parse tree produced byPython3Parser.array().voidExit a parse tree produced by thearrayExprlabeled alternative inPython3Parser.expr().voidExit a parse tree produced byPython3Parser.assignment_stmt().voidExit a parse tree produced byPython3Parser.atom_expr().voidExit a parse tree produced by theatomExpExprlabeled alternative inPython3Parser.expr().voidExit a parse tree produced by theatomExprlabeled alternative inPython3Parser.expr().voidExit a parse tree produced byPython3Parser.block().voidExit a parse tree produced by thebooleanAtomlabeled alternative inPython3Parser.atom().voidExit a parse tree produced byPython3Parser.break_stmt().voidExit a parse tree produced byPython3Parser.compound_stmt().voidExit a parse tree produced byPython3Parser.continue_stmt().voidExit a parse tree produced byPython3Parser.dotted_as_name().voidExit a parse tree produced byPython3Parser.dotted_as_names().voidExit a parse tree produced byPython3Parser.dotted_name().voidExit a parse tree produced by theequalityExprlabeled alternative inPython3Parser.expr().voidExit a parse tree produced byPython3Parser.flow_stmt().voidExit a parse tree produced byPython3Parser.funcCall().voidExit a parse tree produced by thefuncExprlabeled alternative inPython3Parser.expr().voidExit a parse tree produced byPython3Parser.if_stmt().voidExit a parse tree produced byPython3Parser.import_as_name().voidExit a parse tree produced byPython3Parser.import_as_names().voidExit a parse tree produced byPython3Parser.import_from().voidExit a parse tree produced byPython3Parser.import_name().voidExit a parse tree produced byPython3Parser.import_stmt().voidExit a parse tree produced by themultiplicationExprlabeled alternative inPython3Parser.expr().voidExit a parse tree produced by thenameAtomlabeled alternative inPython3Parser.atom().voidExit a parse tree produced by thenilAtomlabeled alternative inPython3Parser.atom().voidExit a parse tree produced by thenotExprlabeled alternative inPython3Parser.expr().voidExit a parse tree produced by thenumberAtomlabeled alternative inPython3Parser.atom().voidExit a parse tree produced by theorExprlabeled alternative inPython3Parser.expr().voidExit a parse tree produced by theparExprlabeled alternative inPython3Parser.atom().voidExit a parse tree produced by thepowExprlabeled alternative inPython3Parser.expr().voidExit a parse tree produced byPython3Parser.print_stmt().voidExit a parse tree produced by therelationalExprlabeled alternative inPython3Parser.expr().voidExit a parse tree produced byPython3Parser.return_stmt().voidExit a parse tree produced byPython3Parser.simple_stmt().voidExit a parse tree produced byPython3Parser.sliceop().voidExit a parse tree produced byPython3Parser.small_stmt().voidExit a parse tree produced byPython3Parser.source().voidExit a parse tree produced byPython3Parser.stmt().voidExit a parse tree produced by thestringAtomlabeled alternative inPython3Parser.atom().voidExit a parse tree produced byPython3Parser.subscript_().voidExit a parse tree produced byPython3Parser.subscriptlist().voidExit a parse tree produced byPython3Parser.test().voidExit a parse tree produced byPython3Parser.test_block().voidExit a parse tree produced by theunaryMinusExprlabeled alternative inPython3Parser.expr().voidExit a parse tree produced byPython3Parser.while_stmt().Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeListener
enterEveryRule, exitEveryRule, visitErrorNode, visitTerminal
-
Method Details
-
enterSource
Enter a parse tree produced byPython3Parser.source().- Parameters:
ctx- the parse tree
-
exitSource
Exit a parse tree produced byPython3Parser.source().- Parameters:
ctx- the parse tree
-
enterStmt
Enter a parse tree produced byPython3Parser.stmt().- Parameters:
ctx- the parse tree
-
exitStmt
Exit a parse tree produced byPython3Parser.stmt().- Parameters:
ctx- the parse tree
-
enterSimple_stmt
Enter a parse tree produced byPython3Parser.simple_stmt().- Parameters:
ctx- the parse tree
-
exitSimple_stmt
Exit a parse tree produced byPython3Parser.simple_stmt().- Parameters:
ctx- the parse tree
-
enterSmall_stmt
Enter a parse tree produced byPython3Parser.small_stmt().- Parameters:
ctx- the parse tree
-
exitSmall_stmt
Exit a parse tree produced byPython3Parser.small_stmt().- Parameters:
ctx- the parse tree
-
enterAssignment_stmt
Enter a parse tree produced byPython3Parser.assignment_stmt().- Parameters:
ctx- the parse tree
-
exitAssignment_stmt
Exit a parse tree produced byPython3Parser.assignment_stmt().- Parameters:
ctx- the parse tree
-
enterFlow_stmt
Enter a parse tree produced byPython3Parser.flow_stmt().- Parameters:
ctx- the parse tree
-
exitFlow_stmt
Exit a parse tree produced byPython3Parser.flow_stmt().- Parameters:
ctx- the parse tree
-
enterBreak_stmt
Enter a parse tree produced byPython3Parser.break_stmt().- Parameters:
ctx- the parse tree
-
exitBreak_stmt
Exit a parse tree produced byPython3Parser.break_stmt().- Parameters:
ctx- the parse tree
-
enterContinue_stmt
Enter a parse tree produced byPython3Parser.continue_stmt().- Parameters:
ctx- the parse tree
-
exitContinue_stmt
Exit a parse tree produced byPython3Parser.continue_stmt().- Parameters:
ctx- the parse tree
-
enterCompound_stmt
Enter a parse tree produced byPython3Parser.compound_stmt().- Parameters:
ctx- the parse tree
-
exitCompound_stmt
Exit a parse tree produced byPython3Parser.compound_stmt().- Parameters:
ctx- the parse tree
-
enterImport_stmt
Enter a parse tree produced byPython3Parser.import_stmt().- Parameters:
ctx- the parse tree
-
exitImport_stmt
Exit a parse tree produced byPython3Parser.import_stmt().- Parameters:
ctx- the parse tree
-
enterImport_name
Enter a parse tree produced byPython3Parser.import_name().- Parameters:
ctx- the parse tree
-
exitImport_name
Exit a parse tree produced byPython3Parser.import_name().- Parameters:
ctx- the parse tree
-
enterImport_from
Enter a parse tree produced byPython3Parser.import_from().- Parameters:
ctx- the parse tree
-
exitImport_from
Exit a parse tree produced byPython3Parser.import_from().- Parameters:
ctx- the parse tree
-
enterImport_as_name
Enter a parse tree produced byPython3Parser.import_as_name().- Parameters:
ctx- the parse tree
-
exitImport_as_name
Exit a parse tree produced byPython3Parser.import_as_name().- Parameters:
ctx- the parse tree
-
enterDotted_as_name
Enter a parse tree produced byPython3Parser.dotted_as_name().- Parameters:
ctx- the parse tree
-
exitDotted_as_name
Exit a parse tree produced byPython3Parser.dotted_as_name().- Parameters:
ctx- the parse tree
-
enterImport_as_names
Enter a parse tree produced byPython3Parser.import_as_names().- Parameters:
ctx- the parse tree
-
exitImport_as_names
Exit a parse tree produced byPython3Parser.import_as_names().- Parameters:
ctx- the parse tree
-
enterDotted_as_names
Enter a parse tree produced byPython3Parser.dotted_as_names().- Parameters:
ctx- the parse tree
-
exitDotted_as_names
Exit a parse tree produced byPython3Parser.dotted_as_names().- Parameters:
ctx- the parse tree
-
enterDotted_name
Enter a parse tree produced byPython3Parser.dotted_name().- Parameters:
ctx- the parse tree
-
exitDotted_name
Exit a parse tree produced byPython3Parser.dotted_name().- Parameters:
ctx- the parse tree
-
enterAtom_expr
Enter a parse tree produced byPython3Parser.atom_expr().- Parameters:
ctx- the parse tree
-
exitAtom_expr
Exit a parse tree produced byPython3Parser.atom_expr().- Parameters:
ctx- the parse tree
-
enterArray
Enter a parse tree produced byPython3Parser.array().- Parameters:
ctx- the parse tree
-
exitArray
Exit a parse tree produced byPython3Parser.array().- Parameters:
ctx- the parse tree
-
enterSubscriptlist
Enter a parse tree produced byPython3Parser.subscriptlist().- Parameters:
ctx- the parse tree
-
exitSubscriptlist
Exit a parse tree produced byPython3Parser.subscriptlist().- Parameters:
ctx- the parse tree
-
enterSubscript_
Enter a parse tree produced byPython3Parser.subscript_().- Parameters:
ctx- the parse tree
-
exitSubscript_
Exit a parse tree produced byPython3Parser.subscript_().- Parameters:
ctx- the parse tree
-
enterSliceop
Enter a parse tree produced byPython3Parser.sliceop().- Parameters:
ctx- the parse tree
-
exitSliceop
Exit a parse tree produced byPython3Parser.sliceop().- Parameters:
ctx- the parse tree
-
enterTest
Enter a parse tree produced byPython3Parser.test().- Parameters:
ctx- the parse tree
-
exitTest
Exit a parse tree produced byPython3Parser.test().- Parameters:
ctx- the parse tree
-
enterIf_stmt
Enter a parse tree produced byPython3Parser.if_stmt().- Parameters:
ctx- the parse tree
-
exitIf_stmt
Exit a parse tree produced byPython3Parser.if_stmt().- Parameters:
ctx- the parse tree
-
enterTest_block
Enter a parse tree produced byPython3Parser.test_block().- Parameters:
ctx- the parse tree
-
exitTest_block
Exit a parse tree produced byPython3Parser.test_block().- Parameters:
ctx- the parse tree
-
enterWhile_stmt
Enter a parse tree produced byPython3Parser.while_stmt().- Parameters:
ctx- the parse tree
-
exitWhile_stmt
Exit a parse tree produced byPython3Parser.while_stmt().- Parameters:
ctx- the parse tree
-
enterBlock
Enter a parse tree produced byPython3Parser.block().- Parameters:
ctx- the parse tree
-
exitBlock
Exit a parse tree produced byPython3Parser.block().- Parameters:
ctx- the parse tree
-
enterPrint_stmt
Enter a parse tree produced byPython3Parser.print_stmt().- Parameters:
ctx- the parse tree
-
exitPrint_stmt
Exit a parse tree produced byPython3Parser.print_stmt().- Parameters:
ctx- the parse tree
-
enterFuncCall
Enter a parse tree produced byPython3Parser.funcCall().- Parameters:
ctx- the parse tree
-
exitFuncCall
Exit a parse tree produced byPython3Parser.funcCall().- Parameters:
ctx- the parse tree
-
enterArguments
Enter a parse tree produced byPython3Parser.arguments().- Parameters:
ctx- the parse tree
-
exitArguments
Exit a parse tree produced byPython3Parser.arguments().- Parameters:
ctx- the parse tree
-
enterReturn_stmt
Enter a parse tree produced byPython3Parser.return_stmt().- Parameters:
ctx- the parse tree
-
exitReturn_stmt
Exit a parse tree produced byPython3Parser.return_stmt().- Parameters:
ctx- the parse tree
-
enterFuncExpr
Enter a parse tree produced by thefuncExprlabeled alternative inPython3Parser.expr().- Parameters:
ctx- the parse tree
-
exitFuncExpr
Exit a parse tree produced by thefuncExprlabeled alternative inPython3Parser.expr().- Parameters:
ctx- the parse tree
-
enterArrayExpr
Enter a parse tree produced by thearrayExprlabeled alternative inPython3Parser.expr().- Parameters:
ctx- the parse tree
-
exitArrayExpr
Exit a parse tree produced by thearrayExprlabeled alternative inPython3Parser.expr().- Parameters:
ctx- the parse tree
-
enterAtomExpr
Enter a parse tree produced by theatomExprlabeled alternative inPython3Parser.expr().- Parameters:
ctx- the parse tree
-
exitAtomExpr
Exit a parse tree produced by theatomExprlabeled alternative inPython3Parser.expr().- Parameters:
ctx- the parse tree
-
enterOrExpr
Enter a parse tree produced by theorExprlabeled alternative inPython3Parser.expr().- Parameters:
ctx- the parse tree
-
exitOrExpr
Exit a parse tree produced by theorExprlabeled alternative inPython3Parser.expr().- Parameters:
ctx- the parse tree
-
enterAdditiveExpr
Enter a parse tree produced by theadditiveExprlabeled alternative inPython3Parser.expr().- Parameters:
ctx- the parse tree
-
exitAdditiveExpr
Exit a parse tree produced by theadditiveExprlabeled alternative inPython3Parser.expr().- Parameters:
ctx- the parse tree
-
enterRelationalExpr
Enter a parse tree produced by therelationalExprlabeled alternative inPython3Parser.expr().- Parameters:
ctx- the parse tree
-
exitRelationalExpr
Exit a parse tree produced by therelationalExprlabeled alternative inPython3Parser.expr().- Parameters:
ctx- the parse tree
-
enterNotExpr
Enter a parse tree produced by thenotExprlabeled alternative inPython3Parser.expr().- Parameters:
ctx- the parse tree
-
exitNotExpr
Exit a parse tree produced by thenotExprlabeled alternative inPython3Parser.expr().- Parameters:
ctx- the parse tree
-
enterUnaryMinusExpr
Enter a parse tree produced by theunaryMinusExprlabeled alternative inPython3Parser.expr().- Parameters:
ctx- the parse tree
-
exitUnaryMinusExpr
Exit a parse tree produced by theunaryMinusExprlabeled alternative inPython3Parser.expr().- Parameters:
ctx- the parse tree
-
enterMultiplicationExpr
Enter a parse tree produced by themultiplicationExprlabeled alternative inPython3Parser.expr().- Parameters:
ctx- the parse tree
-
exitMultiplicationExpr
Exit a parse tree produced by themultiplicationExprlabeled alternative inPython3Parser.expr().- Parameters:
ctx- the parse tree
-
enterAtomExpExpr
Enter a parse tree produced by theatomExpExprlabeled alternative inPython3Parser.expr().- Parameters:
ctx- the parse tree
-
exitAtomExpExpr
Exit a parse tree produced by theatomExpExprlabeled alternative inPython3Parser.expr().- Parameters:
ctx- the parse tree
-
enterPowExpr
Enter a parse tree produced by thepowExprlabeled alternative inPython3Parser.expr().- Parameters:
ctx- the parse tree
-
exitPowExpr
Exit a parse tree produced by thepowExprlabeled alternative inPython3Parser.expr().- Parameters:
ctx- the parse tree
-
enterEqualityExpr
Enter a parse tree produced by theequalityExprlabeled alternative inPython3Parser.expr().- Parameters:
ctx- the parse tree
-
exitEqualityExpr
Exit a parse tree produced by theequalityExprlabeled alternative inPython3Parser.expr().- Parameters:
ctx- the parse tree
-
enterAndExpr
Enter a parse tree produced by theandExprlabeled alternative inPython3Parser.expr().- Parameters:
ctx- the parse tree
-
exitAndExpr
Exit a parse tree produced by theandExprlabeled alternative inPython3Parser.expr().- Parameters:
ctx- the parse tree
-
enterParExpr
Enter a parse tree produced by theparExprlabeled alternative inPython3Parser.atom().- Parameters:
ctx- the parse tree
-
exitParExpr
Exit a parse tree produced by theparExprlabeled alternative inPython3Parser.atom().- Parameters:
ctx- the parse tree
-
enterNumberAtom
Enter a parse tree produced by thenumberAtomlabeled alternative inPython3Parser.atom().- Parameters:
ctx- the parse tree
-
exitNumberAtom
Exit a parse tree produced by thenumberAtomlabeled alternative inPython3Parser.atom().- Parameters:
ctx- the parse tree
-
enterBooleanAtom
Enter a parse tree produced by thebooleanAtomlabeled alternative inPython3Parser.atom().- Parameters:
ctx- the parse tree
-
exitBooleanAtom
Exit a parse tree produced by thebooleanAtomlabeled alternative inPython3Parser.atom().- Parameters:
ctx- the parse tree
-
enterNameAtom
Enter a parse tree produced by thenameAtomlabeled alternative inPython3Parser.atom().- Parameters:
ctx- the parse tree
-
exitNameAtom
Exit a parse tree produced by thenameAtomlabeled alternative inPython3Parser.atom().- Parameters:
ctx- the parse tree
-
enterStringAtom
Enter a parse tree produced by thestringAtomlabeled alternative inPython3Parser.atom().- Parameters:
ctx- the parse tree
-
exitStringAtom
Exit a parse tree produced by thestringAtomlabeled alternative inPython3Parser.atom().- Parameters:
ctx- the parse tree
-
enterNilAtom
Enter a parse tree produced by thenilAtomlabeled alternative inPython3Parser.atom().- Parameters:
ctx- the parse tree
-
exitNilAtom
Exit a parse tree produced by thenilAtomlabeled alternative inPython3Parser.atom().- Parameters:
ctx- the parse tree
-