Top Fields Constructors Methods
org.python.antlr.op

public Class Or

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

public
Or(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
Or___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

Orback to summary
public Or()
Orback to summary
public Or(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
Or___init__back to summary
public void Or___init__(PyObject[] args, String[] keywords)
Annotations
@ExposedNew
@ExposedMethod
Or___int__back to summary
pack-priv final PyObject Or___int__()