syntax
本頁內容尚未翻譯。
python.ast.NodeId
Section titled “python.ast.NodeId”def NodeId : TypeA node’s label (the debugger stops there, errors point at it).
python.ast.Constant
Section titled “python.ast.Constant”data ConstantA literal’s value: an int or a float as its text (a Python int has no size limit).
python.ast.BinOp
Section titled “python.ast.BinOp”data BinOpA binary operator.
python.ast.UnaryOp
Section titled “python.ast.UnaryOp”data UnaryOpA unary operator.
python.ast.BoolOp
Section titled “python.ast.BoolOp”data BoolOpand and or.
python.ast.CmpOp
Section titled “python.ast.CmpOp”data CmpOpA comparison operator.
python.ast.Program
Section titled “python.ast.Program”data ProgramA whole program: the statements of the module.