Top Fields Constructors Methods
org.python.antlr.op

public Class Sub

extends PythonTree
Class Inheritance
Known Direct Subclasses
org.python.antlr.op.SubDerived
Annotations
@ExposedType
name:_ast.Sub
base:operator
Imports
org.python.antlr.base.operator, org.python.antlr.PythonTree, org.python.core.Py, .PyObject, .PyString, .PyType, org.python.expose.ExposedGet, .ExposedMethod, .ExposedNew, .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
Sub()

public
Sub(PyType subType)

Method Summary

Modifier and TypeMethod and Description
public PyObject
__int__()

Overrides org.python.core.PyObject.__int__.

Equivalent to the standard Python __int__ method.

public PyString[]
public PyString[]
public void
Sub___init__(PyObject[] args, String[] keywords)

pack-priv final PyObject
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

Subback to summary
public Sub()
Subback to summary
public Sub(PyType subType)

Method Detail

__int__back to summary
public PyObject __int__()

Overrides org.python.core.PyObject.__int__.

Doc from org.python.core.PyObject.__int__.

Equivalent to the standard Python __int__ method. Should only be overridden by numeric objects that can be reasonably coerced into an integer.

Returns:PyObject

an integer corresponding to the value of this object.

Annotations
@ExposedMethod

get_attributesback to summary
public PyString[] get_attributes()
Annotations
@ExposedGet
name:_attributes
get_fieldsback to summary
public PyString[] get_fields()
Annotations
@ExposedGet
name:_fields
Sub___init__back to summary
public void Sub___init__(PyObject[] args, String[] keywords)
Annotations
@ExposedNew
@ExposedMethod
Sub___int__back to summary
pack-priv final PyObject Sub___int__()