Top Fields Constructors Methods
org.python.antlr.op

public Class UAdd

extends PythonTree
Class Inheritance
Known Direct Subclasses
org.python.antlr.op.UAddDerived
Annotations
@ExposedType
name:_ast.UAdd
base:unaryop
Imports
org.python.antlr.base.unaryop, 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
UAdd()

public
UAdd(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
UAdd___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

UAddback to summary
public UAdd()
UAddback to summary
public UAdd(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
UAdd___init__back to summary
public void UAdd___init__(PyObject[] args, String[] keywords)
Annotations
@ExposedNew
@ExposedMethod
UAdd___int__back to summary
pack-priv final PyObject UAdd___int__()