Top Fields Constructors Methods
org.python.antlr.base

public abstract Class stmt

extends PythonTree
Class Inheritance
Known Direct Subclasses
org.python.antlr.ast.Assert, org.python.antlr.ast.Assign, org.python.antlr.ast.AugAssign, org.python.antlr.ast.Break, org.python.antlr.ast.Continue, org.python.antlr.ast.Delete, org.python.antlr.ast.ErrorStmt, org.python.antlr.ast.Exec, org.python.antlr.ast.Expr, org.python.antlr.ast.For, org.python.antlr.ast.FunctionDef, org.python.antlr.ast.Global, org.python.antlr.ast.Import, org.python.antlr.ast.ImportFrom, org.python.antlr.ast.Pass, org.python.antlr.ast.Print, org.python.antlr.ast.Raise, org.python.antlr.ast.Return, org.python.antlr.ast.ClassDef, org.python.antlr.ast.If, org.python.antlr.ast.TryExcept, org.python.antlr.ast.TryFinally, org.python.antlr.ast.While, org.python.antlr.ast.With
Annotations
@ExposedType
name:_ast.stmt
base:AST
Imports
org.antlr.runtime.Token, org.python.antlr.AST, .PythonTree, org.python.antlr.base.stmt, org.python.core.PyString, .PyType, org.python.expose.ExposedGet, .ExposedType

Field Summary

Modifier and TypeField and Description
private static final PyString[]
private static final PyString[]
public static final PyType
Inherited from org.python.antlr.PythonTree:
childrenfrom_future_checked

Constructor Summary

AccessConstructor and Description
public
stmt()

public
stmt(PyType subType)

public
stmt(int ttype, Token token)

public
stmt(Token token)

public

Method Summary

Modifier and TypeMethod and Description
public PyString[]
public PyString[]
Inherited from org.python.antlr.PythonTree:
acceptaddChildaddChildrencreateChildrenListdeleteChilddottedNameListToStringdumpThisdumpThisdumpThisdupNodefreshenParentAndChildIndexesfreshenParentAndChildIndexesgetAntlrTypegetCharPositionInLinegetCharStartIndexgetCharStopIndexgetChildgetChildCountgetChildIndexgetChildrengetCol_offsetgetFirstChildWithTypegetLinegetLinenogetNodegetParentgetTextgetTokengetTokenStartIndexgetTokenStopIndexisNilrefersDirectlyToreplaceChildrensetCharStartIndexsetCharStopIndexsetChildsetChildIndexsetParentsetTokenStartIndexsetTokenStopIndextoStringtoStringTreetraversetraverse

Field Detail

attributesback to summary
private static final PyString[] attributes

Hides org.python.core.PyObject.attributes.

fieldsback to summary
private static final PyString[] fields
TYPEback to summary
public static final PyType TYPE

Hides org.python.antlr.AST.TYPE.

Constructor Detail

stmtback to summary
public stmt()
stmtback to summary
public stmt(PyType subType)
stmtback to summary
public stmt(int ttype, Token token)
stmtback to summary
public stmt(Token token)
stmtback to summary
public stmt(PythonTree node)

Method Detail

get_attributesback to summary
public PyString[] get_attributes()
Annotations
@ExposedGet
name:_attributes
get_fieldsback to summary
public PyString[] get_fields()
Annotations
@ExposedGet
name:_fields