Top Fields Constructors Methods
org.python.antlr.ast

public Class ExtSlice

extends slice
Class Inheritance
Known Direct Subclasses
org.python.antlr.ast.ExtSliceDerived
Annotations
@ExposedType
name:_ast.ExtSlice
base:slice
Imports
org.antlr.runtime.Token, org.python.antlr.PythonTree, org.python.antlr.adapter.AstAdapters, org.python.antlr.base.slice, org.python.core.ArgParser, .AstList, .Py, .PyObject, .PyString, .PyStringMap, .PyType, org.python.expose.ExposedGet, .ExposedMethod, .ExposedNew, .ExposedSet, .ExposedType, java.util.ArrayList

Field Summary

Modifier and TypeField and Description
public PyObject
private static final PyString[]
private List<slice>
private static final PyString[]
public static final PyType

Constructor Summary

AccessConstructor and Description
public
ExtSlice(PyType subType)

public
public
public
ExtSlice(Token token, List<slice> dims)

public
ExtSlice(Integer ttype, Token token, List<slice> dims)

public

Method Summary

Modifier and TypeMethod and Description
public <R> R
private void
public void
ExtSlice___init__(PyObject[] args, String[] keywords)

public PyObject
fastGetDict()

Overrides org.python.core.PyObject.fastGetDict.

xxx implements where meaningful

public PyString[]
public PyString[]
public PyObject
getDict()

Overrides org.python.core.PyObject.getDict.

xxx implements where meaningful

public PyObject
public List<slice>
public void
public String
toString()

Overrides org.python.antlr.PythonTree.toString.

Returns a string representation of the object.

public String
public void

Field Detail

__dict__back to summary
public PyObject __dict__
attributesback to summary
private static final PyString[] attributes

Hides org.python.antlr.base.slice.attributes.

dimsback to summary
private List<slice> dims
fieldsback to summary
private static final PyString[] fields

Hides org.python.antlr.base.slice.fields.

TYPEback to summary
public static final PyType TYPE

Hides org.python.antlr.base.slice.TYPE.

Constructor Detail

ExtSliceback to summary
public ExtSlice(PyType subType)
ExtSliceback to summary
public ExtSlice()
ExtSliceback to summary
public ExtSlice(PyObject dims)
ExtSliceback to summary
public ExtSlice(Token token, List<slice> dims)
ExtSliceback to summary
public ExtSlice(Integer ttype, Token token, List<slice> dims)
ExtSliceback to summary
public ExtSlice(PythonTree tree, List<slice> dims)

Method Detail

acceptback to summary
public <R> R accept(VisitorIF<R> visitor) throws Exception

Overrides org.python.antlr.PythonTree.accept.

ensureDictback to summary
private void ensureDict()
ExtSlice___init__back to summary
public void ExtSlice___init__(PyObject[] args, String[] keywords)
Annotations
@ExposedNew
@ExposedMethod
fastGetDictback to summary
public PyObject fastGetDict()

Overrides org.python.core.PyObject.fastGetDict.

Doc from org.python.core.PyObject.fastGetDict.

xxx implements where meaningful

Returns:PyObject

internal object per instance dict or null

Annotations
@Override

get_attributesback to summary
public PyString[] get_attributes()

Overrides org.python.antlr.base.slice.get_attributes.

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

Overrides org.python.antlr.base.slice.get_fields.

Annotations
@ExposedGet
name:_fields
getDictback to summary
public PyObject getDict()

Overrides org.python.core.PyObject.getDict.

Doc from org.python.core.PyObject.getDict.

xxx implements where meaningful

Returns:PyObject

internal object __dict__ or null

Annotations
@ExposedGet
name:__dict__

getDimsback to summary
public PyObject getDims()
Annotations
@ExposedGet
name:dims
getInternalDimsback to summary
public List<slice> getInternalDims()
setDimsback to summary
public void setDims(PyObject dims)
Annotations
@ExposedSet
name:dims
toStringback to summary
public String toString()

Overrides org.python.antlr.PythonTree.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@ExposedGet
name:repr

toStringTreeback to summary
public String toStringTree()

Overrides org.python.antlr.PythonTree.toStringTree.

traverseback to summary
public void traverse(VisitorIF<?> visitor) throws Exception

Overrides org.python.antlr.PythonTree.traverse.