René's URL Explorer Experiment


Title: ast --- 抽象語法樹 (Abstract Syntax Trees) — Python 3.14.0 說明文件

direct link

Domain: python.github.io

readthedocs-addons-api-version1

Links:

https://www.python.org/
目錄https://python.github.io/python-docs-zh-tw/contents.html
ast --- 抽象語法樹 (Abstract Syntax Trees)https://python.github.io/python-docs-zh-tw/library/ast.html
抽象文法 (Abstract Grammar)https://python.github.io/python-docs-zh-tw/library/ast.html#abstract-grammar
節點 (Node) 類別https://python.github.io/python-docs-zh-tw/library/ast.html#node-classes
根節點https://python.github.io/python-docs-zh-tw/library/ast.html#root-nodes
文本 (Literals)https://python.github.io/python-docs-zh-tw/library/ast.html#literals
變數https://python.github.io/python-docs-zh-tw/library/ast.html#variables
運算式https://python.github.io/python-docs-zh-tw/library/ast.html#expressions
下標 (Subscripting)https://python.github.io/python-docs-zh-tw/library/ast.html#subscripting
綜合運算式 (comprehensions)https://python.github.io/python-docs-zh-tw/library/ast.html#comprehensions
陳述式https://python.github.io/python-docs-zh-tw/library/ast.html#statements
引入 (imports)https://python.github.io/python-docs-zh-tw/library/ast.html#imports
流程控制https://python.github.io/python-docs-zh-tw/library/ast.html#control-flow
模式匹配 (pattern matching)https://python.github.io/python-docs-zh-tw/library/ast.html#pattern-matching
Type annotationshttps://python.github.io/python-docs-zh-tw/library/ast.html#type-annotations
型別參數 (type parameters)https://python.github.io/python-docs-zh-tw/library/ast.html#type-parameters
函式和類別定義https://python.github.io/python-docs-zh-tw/library/ast.html#function-and-class-definitions
async 和 awaithttps://python.github.io/python-docs-zh-tw/library/ast.html#async-and-await
ast 輔助程式https://python.github.io/python-docs-zh-tw/library/ast.html#ast-helpers
編譯器旗標https://python.github.io/python-docs-zh-tw/library/ast.html#compiler-flags
命令列用法https://python.github.io/python-docs-zh-tw/library/ast.html#command-line-usage
Python 語言服務https://python.github.io/python-docs-zh-tw/library/language.html
symtable --- 存取編譯器的符號表https://python.github.io/python-docs-zh-tw/library/symtable.html
回報錯誤https://python.github.io/python-docs-zh-tw/bugs.html
顯示原始碼 https://github.com/python/cpython/blob/main/Doc/library/ast.rst?plain=1
索引https://python.github.io/python-docs-zh-tw/genindex.html
模組https://python.github.io/python-docs-zh-tw/py-modindex.html
下一頁https://python.github.io/python-docs-zh-tw/library/symtable.html
上一頁https://python.github.io/python-docs-zh-tw/library/language.html
Pythonhttps://www.python.org/
3.14.0 Documentationhttps://python.github.io/python-docs-zh-tw/index.html
Python 標準函式庫 (Standard Library)https://python.github.io/python-docs-zh-tw/library/index.html
Python 語言服務https://python.github.io/python-docs-zh-tw/library/language.html
ast --- 抽象語法樹 (Abstract Syntax Trees)https://python.github.io/python-docs-zh-tw/library/ast.html
https://python.github.io/python-docs-zh-tw/library/ast.html#module-ast
Lib/ast.pyhttps://github.com/python/cpython/tree/3.14/Lib/ast.py
asthttps://python.github.io/python-docs-zh-tw/library/ast.html#module-ast
ast.PyCF_ONLY_ASThttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.PyCF_ONLY_AST
compile()https://python.github.io/python-docs-zh-tw/library/functions.html#compile
parse()https://python.github.io/python-docs-zh-tw/library/ast.html#ast.parse
ast.ASThttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST
compile()https://python.github.io/python-docs-zh-tw/library/functions.html#compile
https://python.github.io/python-docs-zh-tw/library/ast.html#abstract-grammar
https://python.github.io/python-docs-zh-tw/library/ast.html#node-classes
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST
上方https://python.github.io/python-docs-zh-tw/library/ast.html#abstract-grammar
asthttps://python.github.io/python-docs-zh-tw/library/ast.html#module-ast
ast.BinOphttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.BinOp
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST._fields
ast.BinOphttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.BinOp
compile()https://python.github.io/python-docs-zh-tw/library/functions.html#compile
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST._field_types
_fieldshttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST._fields
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST.lineno
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST.col_offset
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST.end_lineno
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST.end_col_offset
linenohttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST.lineno
col_offsethttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST.col_offset
end_linenohttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST.end_lineno
end_col_offsethttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST.end_col_offset
linenohttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST.lineno
end_linenohttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST.end_lineno
col_offsethttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST.col_offset
end_col_offsethttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST.end_col_offset
ast.UnaryOphttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.UnaryOp
Load()https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Load
DeprecationWarninghttps://python.github.io/python-docs-zh-tw/library/exceptions.html#DeprecationWarning
ast.Constanthttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Constant
__repr__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__repr__
ASThttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST
Green Tree Snakeshttps://greentreesnakes.readthedocs.io/en/latest/
https://python.github.io/python-docs-zh-tw/library/ast.html#root-nodes
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Module
檔案輸入https://python.github.io/python-docs-zh-tw/reference/toplevel_components.html#file-input
ast.parse()https://python.github.io/python-docs-zh-tw/library/ast.html#ast.parse
陳述式https://python.github.io/python-docs-zh-tw/library/ast.html#ast-statements
listhttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#list
listhttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#list
ast.parse()https://python.github.io/python-docs-zh-tw/library/ast.html#ast.parse
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Expression
運算式輸入https://python.github.io/python-docs-zh-tw/reference/toplevel_components.html#expression-input
ast.parse()https://python.github.io/python-docs-zh-tw/library/ast.html#ast.parse
運算式型別https://python.github.io/python-docs-zh-tw/library/ast.html#ast-expressions
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Interactive
互動式輸入https://python.github.io/python-docs-zh-tw/reference/toplevel_components.html#interactive
互動模式https://python.github.io/python-docs-zh-tw/tutorial/appendix.html#tut-interac
ast.parse()https://python.github.io/python-docs-zh-tw/library/ast.html#ast.parse
陳述式節點 (statement nodes)https://python.github.io/python-docs-zh-tw/library/ast.html#ast-statements
listhttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#list
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.FunctionType
PEP 484https://peps.python.org/pep-0484/
ast.parse()https://python.github.io/python-docs-zh-tw/library/ast.html#ast.parse
運算式節點https://python.github.io/python-docs-zh-tw/library/ast.html#ast-expressions
listhttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#list
運算式節點https://python.github.io/python-docs-zh-tw/library/ast.html#ast-expressions
https://python.github.io/python-docs-zh-tw/library/ast.html#literals
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Constant
strhttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#str
byteshttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#bytes
inthttps://python.github.io/python-docs-zh-tw/library/functions.html#int
floathttps://python.github.io/python-docs-zh-tw/library/functions.html#float
complexhttps://python.github.io/python-docs-zh-tw/library/functions.html#complex
boolhttps://python.github.io/python-docs-zh-tw/library/functions.html#bool
Nonehttps://python.github.io/python-docs-zh-tw/library/constants.html#None
Ellipsishttps://python.github.io/python-docs-zh-tw/library/constants.html#Ellipsis
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.FormattedValue
JoinedStrhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.JoinedStr
ASCIIhttps://python.github.io/python-docs-zh-tw/library/functions.html#ascii
repr()https://python.github.io/python-docs-zh-tw/library/functions.html#repr
stringhttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#str
JoinedStrhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.JoinedStr
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.JoinedStr
FormattedValuehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.FormattedValue
Constanthttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Constant
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.TemplateStr
Interpolationhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Interpolation
Constanthttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Constant
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Interpolation
ast.unparse()https://python.github.io/python-docs-zh-tw/library/ast.html#ast.unparse
ASCIIhttps://python.github.io/python-docs-zh-tw/library/functions.html#ascii
repr()https://python.github.io/python-docs-zh-tw/library/functions.html#repr
stringhttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#str
JoinedStrhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.JoinedStr
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.List
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Tuple
Storehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Store
Loadhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Load
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Set
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Dict
https://python.github.io/python-docs-zh-tw/library/ast.html#variables
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Name
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Load
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Store
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Del
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Starred
Namehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Name
Callhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Call
https://python.github.io/python-docs-zh-tw/library/ast.html#expressions
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Expr
Constanthttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Constant
Namehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Name
Lambdahttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Lambda
Yieldhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Yield
YieldFromhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.YieldFrom
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.UnaryOp
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.UAdd
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.USub
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Not
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Invert
Nothttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Not
Inverthttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Invert
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.BinOp
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Add
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Sub
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Mult
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Div
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.FloorDiv
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Mod
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Pow
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.LShift
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.RShift
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.BitOr
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.BitXor
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.BitAnd
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.MatMult
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.BoolOp
Orhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Or
Andhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.And
UnaryOphttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.UnaryOp
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.And
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Or
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Compare
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Eq
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.NotEq
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Lt
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.LtE
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Gt
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.GtE
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Is
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.IsNot
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.In
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.NotIn
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Call
Namehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Name
Attributehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Attribute
keywordhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.keyword
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.keyword
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.IfExp
Namehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Name
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Attribute
Namehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Name
Loadhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Load
Storehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Store
Delhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Del
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.NamedExpr
Assignhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Assign
https://python.github.io/python-docs-zh-tw/library/ast.html#subscripting
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Subscript
Tuplehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Tuple
Slicehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Slice
Loadhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Load
Storehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Store
Delhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Del
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Slice
Tuplehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Tuple
Subscripthttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Subscript
https://python.github.io/python-docs-zh-tw/library/ast.html#comprehensions
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.ListComp
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.SetComp
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.GeneratorExp
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.DictComp
comprehensionhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.comprehension
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.comprehension
Namehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Name
Tuplehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Tuple
https://python.github.io/python-docs-zh-tw/library/ast.html#statements
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Assign
Tuplehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Tuple
Listhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.List
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Assign.type_comment
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.AnnAssign
Namehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Name
Attributehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Attribute
Subscripthttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Subscript
Constanthttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Constant
Namehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Name
Namehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Name
__annotations__https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__annotations__
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.AugAssign
Namehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Name
Storehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Store
Addhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Add
Constanthttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Constant
Assignhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Assign
Tuplehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Tuple
Listhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.List
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Raise
Callhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Call
Namehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Name
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Assert
Comparehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Compare
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Delete
Namehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Name
Attributehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Attribute
Subscripthttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Subscript
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Pass
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.TypeAlias
typehttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#type
型別別名 (type alias)https://python.github.io/python-docs-zh-tw/library/typing.html#type-aliases
型別參數 (type parameter)https://python.github.io/python-docs-zh-tw/library/ast.html#ast-type-params
https://python.github.io/python-docs-zh-tw/library/ast.html#imports
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Import
aliashttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.alias
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.ImportFrom
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.alias
https://python.github.io/python-docs-zh-tw/library/ast.html#control-flow
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.If
Comparehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Compare
Ifhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.If
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.For
Namehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Name
Tuplehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Tuple
Listhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.List
Attributehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Attribute
Subscripthttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Subscript
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.For.type_comment
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.While
Comparehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Compare
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Break
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Continue
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Try
ExceptHandlerhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.ExceptHandler
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.TryStar
Tryhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Try
ExceptHandlerhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.ExceptHandler
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.ExceptHandler
Namehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Name
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.With
withitemhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.withitem
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.With.type_comment
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.withitem
Callhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Call
Namehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Name
Tuplehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Tuple
Listhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.List
https://python.github.io/python-docs-zh-tw/library/ast.html#pattern-matching
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Match
match_casehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.match_case
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.match_case
ASThttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.MatchValue
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.MatchSingleton
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.MatchSequence
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.MatchStar
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.MatchMapping
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.MatchClass
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.MatchAs
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.MatchOr
https://python.github.io/python-docs-zh-tw/library/ast.html#type-annotations
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.TypeIgnore
ast.parse()https://python.github.io/python-docs-zh-tw/library/ast.html#ast.parse
https://python.github.io/python-docs-zh-tw/library/ast.html#type-parameters
型別參數https://python.github.io/python-docs-zh-tw/reference/compound_stmts.html#type-params
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.TypeVar
typing.TypeVarhttps://python.github.io/python-docs-zh-tw/library/typing.html#typing.TypeVar
Tuplehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Tuple
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.ParamSpec
typing.ParamSpechttps://python.github.io/python-docs-zh-tw/library/typing.html#typing.ParamSpec
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.TypeVarTuple
typing.TypeVarTuplehttps://python.github.io/python-docs-zh-tw/library/typing.html#typing.TypeVarTuple
https://python.github.io/python-docs-zh-tw/library/ast.html#function-and-class-definitions
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.FunctionDef
argumentshttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.arguments
型別參數https://python.github.io/python-docs-zh-tw/library/ast.html#ast-type-params
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.FunctionDef.type_comment
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Lambda
FunctionDefhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.FunctionDef
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.arguments
arghttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.arg
arghttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.arg
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.arg
Namehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Name
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.arg.type_comment
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Return
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Yield
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.YieldFrom
Exprhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Expr
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Global
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Nonlocal
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.ClassDef
keywordhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.keyword
PEP 3115https://peps.python.org/pep-3115/
FunctionDefhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.FunctionDef
型別參數https://python.github.io/python-docs-zh-tw/library/ast.html#ast-type-params
https://python.github.io/python-docs-zh-tw/library/ast.html#async-and-await
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.AsyncFunctionDef
FunctionDefhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.FunctionDef
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.Await
AsyncFunctionDefhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.AsyncFunctionDef
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.AsyncFor
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.AsyncWith
Forhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.For
Withhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.With
AsyncFunctionDefhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.AsyncFunctionDef
ast.parse()https://python.github.io/python-docs-zh-tw/library/ast.html#ast.parse
ast.Addhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Add
asthttps://python.github.io/python-docs-zh-tw/library/ast.html#module-ast
https://python.github.io/python-docs-zh-tw/library/ast.html#ast-helpers
asthttps://python.github.io/python-docs-zh-tw/library/ast.html#module-ast
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.parse
PEP 484https://peps.python.org/pep-0484/
PEP 526https://peps.python.org/pep-0526/
ast.PyCF_TYPE_COMMENTShttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.PyCF_TYPE_COMMENTS
compile()https://python.github.io/python-docs-zh-tw/library/functions.html#compile
Modulehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Module
PEP 484https://peps.python.org/pep-0484/
matchhttps://python.github.io/python-docs-zh-tw/reference/compound_stmts.html#match
ValueErrorhttps://python.github.io/python-docs-zh-tw/library/exceptions.html#ValueError
SyntaxErrorhttps://python.github.io/python-docs-zh-tw/library/exceptions.html#SyntaxError
ast.parse()https://python.github.io/python-docs-zh-tw/library/ast.html#ast.parse
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.unparse
ast.ASThttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST
ast.parse()https://python.github.io/python-docs-zh-tw/library/ast.html#ast.parse
ast.ASThttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST
ast.ASThttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST
RecursionErrorhttps://python.github.io/python-docs-zh-tw/library/exceptions.html#RecursionError
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.literal_eval
eval()https://python.github.io/python-docs-zh-tw/library/functions.html#eval
ValueErrorhttps://python.github.io/python-docs-zh-tw/library/exceptions.html#ValueError
TypeErrorhttps://python.github.io/python-docs-zh-tw/library/exceptions.html#TypeError
SyntaxErrorhttps://python.github.io/python-docs-zh-tw/library/exceptions.html#SyntaxError
MemoryErrorhttps://python.github.io/python-docs-zh-tw/library/exceptions.html#MemoryError
RecursionErrorhttps://python.github.io/python-docs-zh-tw/library/exceptions.html#RecursionError
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.get_docstring
FunctionDefhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.FunctionDef
AsyncFunctionDefhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.AsyncFunctionDef
ClassDefhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.ClassDef
Modulehttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.Module
inspect.cleandoc()https://python.github.io/python-docs-zh-tw/library/inspect.html#inspect.cleandoc
AsyncFunctionDefhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.AsyncFunctionDef
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.get_source_segment
linenohttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST.lineno
end_linenohttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST.end_lineno
col_offsethttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST.col_offset
end_col_offsethttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST.end_col_offset
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.fix_missing_locations
compile()https://python.github.io/python-docs-zh-tw/library/functions.html#compile
linenohttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST.lineno
col_offsethttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST.col_offset
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.increment_lineno
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.copy_location
linenohttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST.lineno
col_offsethttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST.col_offset
end_linenohttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST.end_lineno
end_col_offsethttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST.end_col_offset
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.iter_fields
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.iter_child_nodes
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.walk
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.NodeVisitor
visit()https://python.github.io/python-docs-zh-tw/library/ast.html#ast.NodeVisitor.visit
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.NodeVisitor.visit
generic_visit()https://python.github.io/python-docs-zh-tw/library/ast.html#ast.NodeVisitor.generic_visit
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.NodeVisitor.generic_visit
visit()https://python.github.io/python-docs-zh-tw/library/ast.html#ast.NodeVisitor.visit
generic_visit()https://python.github.io/python-docs-zh-tw/library/ast.html#ast.NodeVisitor.generic_visit
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.NodeVisitor.visit_Constant
NodeVisitorhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.NodeVisitor
NodeTransformerhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.NodeTransformer
visit_Constant()https://python.github.io/python-docs-zh-tw/library/ast.html#ast.NodeVisitor.visit_Constant
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.NodeTransformer
NodeVisitorhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.NodeVisitor
NodeTransformerhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.NodeTransformer
generic_visit()https://python.github.io/python-docs-zh-tw/library/ast.html#ast.NodeVisitor.generic_visit
NodeTransformerhttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.NodeTransformer
linenohttps://python.github.io/python-docs-zh-tw/library/ast.html#ast.AST.lineno
fix_missing_locations()https://python.github.io/python-docs-zh-tw/library/ast.html#ast.fix_missing_locations
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.dump
https://python.github.io/python-docs-zh-tw/library/ast.html#compiler-flags
compile()https://python.github.io/python-docs-zh-tw/library/functions.html#compile
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.PyCF_ALLOW_TOP_LEVEL_AWAIT
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.PyCF_ONLY_AST
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.PyCF_OPTIMIZED_AST
compile()https://python.github.io/python-docs-zh-tw/library/functions.html#compile
ast.parse()https://python.github.io/python-docs-zh-tw/library/ast.html#ast.parse
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.PyCF_TYPE_COMMENTS
PEP 484https://peps.python.org/pep-0484/
PEP 526https://peps.python.org/pep-0526/
https://python.github.io/python-docs-zh-tw/library/ast.html#ast.compare
https://python.github.io/python-docs-zh-tw/library/ast.html#command-line-usage
asthttps://python.github.io/python-docs-zh-tw/library/ast.html#module-ast
https://python.github.io/python-docs-zh-tw/library/ast.html#cmdoption-ast-h
https://python.github.io/python-docs-zh-tw/library/ast.html#cmdoption-ast-m
https://python.github.io/python-docs-zh-tw/library/ast.html#cmdoption-ast-mode
parse()https://python.github.io/python-docs-zh-tw/library/ast.html#ast.parse
https://python.github.io/python-docs-zh-tw/library/ast.html#cmdoption-ast-no-type-comments
https://python.github.io/python-docs-zh-tw/library/ast.html#cmdoption-ast-a
https://python.github.io/python-docs-zh-tw/library/ast.html#cmdoption-ast-i
https://python.github.io/python-docs-zh-tw/library/ast.html#cmdoption-ast-indent
https://python.github.io/python-docs-zh-tw/library/ast.html#cmdoption-ast-feature-version
https://python.github.io/python-docs-zh-tw/library/ast.html#cmdoption-ast-O
https://python.github.io/python-docs-zh-tw/library/ast.html#cmdoption-ast-optimize
https://python.github.io/python-docs-zh-tw/library/ast.html#cmdoption-ast-show-empty
Green Tree Snakeshttps://greentreesnakes.readthedocs.io/
ASTTokenshttps://asttokens.readthedocs.io/en/latest/user-guide.html
leoAst.pyhttps://leo-editor.github.io/leo-editor/appendices.html#leoast-py
LibCSThttps://libcst.readthedocs.io/
Parsohttps://parso.readthedocs.io
目錄https://python.github.io/python-docs-zh-tw/contents.html
ast --- 抽象語法樹 (Abstract Syntax Trees)https://python.github.io/python-docs-zh-tw/library/ast.html
抽象文法 (Abstract Grammar)https://python.github.io/python-docs-zh-tw/library/ast.html#abstract-grammar
節點 (Node) 類別https://python.github.io/python-docs-zh-tw/library/ast.html#node-classes
根節點https://python.github.io/python-docs-zh-tw/library/ast.html#root-nodes
文本 (Literals)https://python.github.io/python-docs-zh-tw/library/ast.html#literals
變數https://python.github.io/python-docs-zh-tw/library/ast.html#variables
運算式https://python.github.io/python-docs-zh-tw/library/ast.html#expressions
下標 (Subscripting)https://python.github.io/python-docs-zh-tw/library/ast.html#subscripting
綜合運算式 (comprehensions)https://python.github.io/python-docs-zh-tw/library/ast.html#comprehensions
陳述式https://python.github.io/python-docs-zh-tw/library/ast.html#statements
引入 (imports)https://python.github.io/python-docs-zh-tw/library/ast.html#imports
流程控制https://python.github.io/python-docs-zh-tw/library/ast.html#control-flow
模式匹配 (pattern matching)https://python.github.io/python-docs-zh-tw/library/ast.html#pattern-matching
Type annotationshttps://python.github.io/python-docs-zh-tw/library/ast.html#type-annotations
型別參數 (type parameters)https://python.github.io/python-docs-zh-tw/library/ast.html#type-parameters
函式和類別定義https://python.github.io/python-docs-zh-tw/library/ast.html#function-and-class-definitions
async 和 awaithttps://python.github.io/python-docs-zh-tw/library/ast.html#async-and-await
ast 輔助程式https://python.github.io/python-docs-zh-tw/library/ast.html#ast-helpers
編譯器旗標https://python.github.io/python-docs-zh-tw/library/ast.html#compiler-flags
命令列用法https://python.github.io/python-docs-zh-tw/library/ast.html#command-line-usage
Python 語言服務https://python.github.io/python-docs-zh-tw/library/language.html
symtable --- 存取編譯器的符號表https://python.github.io/python-docs-zh-tw/library/symtable.html
回報錯誤https://python.github.io/python-docs-zh-tw/bugs.html
顯示原始碼 https://github.com/python/cpython/blob/main/Doc/library/ast.rst?plain=1
索引https://python.github.io/python-docs-zh-tw/genindex.html
模組https://python.github.io/python-docs-zh-tw/py-modindex.html
下一頁https://python.github.io/python-docs-zh-tw/library/symtable.html
上一頁https://python.github.io/python-docs-zh-tw/library/language.html
Pythonhttps://www.python.org/
3.14.0 Documentationhttps://python.github.io/python-docs-zh-tw/index.html
Python 標準函式庫 (Standard Library)https://python.github.io/python-docs-zh-tw/library/index.html
Python 語言服務https://python.github.io/python-docs-zh-tw/library/language.html
ast --- 抽象語法樹 (Abstract Syntax Trees)https://python.github.io/python-docs-zh-tw/library/ast.html
版權所有https://python.github.io/python-docs-zh-tw/copyright.html
歷史與授權條款https://python.github.io/license.html
敬請捐贈。https://www.python.org/psf/donations/
發現 bughttps://python.github.io/bugs.html
Sphinxhttps://www.sphinx-doc.org/

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.