Top Fields Constructors Methods
org.python.antlr.base

public abstract Class slice

extends PythonTree
Class Inheritance
Known Direct Subclasses
org.python.antlr.ast.Ellipsis, org.python.antlr.ast.ErrorSlice, org.python.antlr.ast.ExtSlice, org.python.antlr.ast.Index, org.python.antlr.ast.Slice
Annotations
@ExposedType
name:_ast.slice
base:AST
Imports
org.antlr.runtime.Token, org.python.antlr.AST, .PythonTree, org.python.antlr.base.slice, 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
public
slice(PyType subType)

public
slice(int ttype, Token token)

public
slice(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

sliceback to summary
public slice()
sliceback to summary
public slice(PyType subType)
sliceback to summary
public slice(int ttype, Token token)
sliceback to summary
public slice(Token token)
sliceback to summary
public slice(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