Top Fields Constructors Methods
org.python.antlr.ast

public Class Raise

extends stmt
Class Inheritance
Known Direct Subclasses
org.python.antlr.ast.RaiseDerived
Annotations
@ExposedType
name:_ast.Raise
base:stmt
Imports
org.antlr.runtime.Token, org.python.antlr.PythonTree, org.python.antlr.adapter.AstAdapters, org.python.antlr.base.expr, .stmt, org.python.core.ArgParser, .Py, .PyObject, .PyString, .PyStringMap, .PyType, org.python.expose.ExposedGet, .ExposedMethod, .ExposedNew, .ExposedSet, .ExposedType

Field Summary

Modifier and TypeField and Description
public PyObject
private static final PyString[]
private int
private static final PyString[]
private expr
private int
private expr
public static final PyType
private expr

Constructor Summary

AccessConstructor and Description
public
Raise(PyType subType)

public
public
Raise(PyObject type, PyObject inst, PyObject tback)

public
Raise(Token token, expr type, expr inst, expr tback)

public
Raise(Integer ttype, Token token, expr type, expr inst, expr tback)

public
Raise(PythonTree tree, expr type, expr inst, expr tback)

Method Summary

Modifier and TypeMethod and Description
public <R> R
private void
public PyObject
fastGetDict()

Overrides org.python.core.PyObject.fastGetDict.

xxx implements where meaningful

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

Overrides org.python.core.PyObject.getDict.

xxx implements where meaningful

public PyObject
public PyObject
public expr
public expr
public expr
public int
public PyObject
public void
Raise___init__(PyObject[] args, String[] keywords)

public void
setCol_offset(int num)

public void
public void
public void
setLineno(int num)

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.stmt.attributes.

col_offsetback to summary
private int col_offset
fieldsback to summary
private static final PyString[] fields

Hides org.python.antlr.base.stmt.fields.

instback to summary
private expr inst
linenoback to summary
private int lineno
tbackback to summary
private expr tback
TYPEback to summary
public static final PyType TYPE

Hides org.python.antlr.base.stmt.TYPE.

typeback to summary
private expr type

Constructor Detail

Raiseback to summary
public Raise(PyType subType)
Raiseback to summary
public Raise()
Raiseback to summary
public Raise(PyObject type, PyObject inst, PyObject tback)
Raiseback to summary
public Raise(Token token, expr type, expr inst, expr tback)
Raiseback to summary
public Raise(Integer ttype, Token token, expr type, expr inst, expr tback)
Raiseback to summary
public Raise(PythonTree tree, expr type, expr inst, expr tback)

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()
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.stmt.get_attributes.

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

Overrides org.python.antlr.base.stmt.get_fields.

Annotations
@ExposedGet
name:_fields
getCol_offsetback to summary
public int getCol_offset()

Overrides org.python.antlr.PythonTree.getCol_offset.

Annotations
@ExposedGet
name:col_offset
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__
getExceptTypeback to summary
public PyObject getExceptType()
Annotations
@ExposedGet
name:type
getInstback to summary
public PyObject getInst()
Annotations
@ExposedGet
name:inst
getInternalInstback to summary
public expr getInternalInst()
getInternalTbackback to summary
public expr getInternalTback()
getInternalTypeback to summary
public expr getInternalType()
getLinenoback to summary
public int getLineno()

Overrides org.python.antlr.PythonTree.getLineno.

Annotations
@ExposedGet
name:lineno
getTbackback to summary
public PyObject getTback()
Annotations
@ExposedGet
name:tback
Raise___init__back to summary
public void Raise___init__(PyObject[] args, String[] keywords)
Annotations
@ExposedNew
@ExposedMethod
setCol_offsetback to summary
public void setCol_offset(int num)
Annotations
@ExposedSet
name:col_offset
setExceptTypeback to summary
public void setExceptType(PyObject type)
Annotations
@ExposedSet
name:type
setInstback to summary
public void setInst(PyObject inst)
Annotations
@ExposedSet
name:inst
setLinenoback to summary
public void setLineno(int num)
Annotations
@ExposedSet
name:lineno
setTbackback to summary
public void setTback(PyObject tback)
Annotations
@ExposedSet
name:tback
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.