class documentation

class Token: (source)

Constructor: Token(value, type)

View In Hierarchy

A token in a type specification.

Method __init__ attrs generated method
Method astext The token as text.
Instance Variable type Undocumented
Instance Variable value Undocumented
def __init__(self, value: object, type: TokenType): (source)

attrs generated method

def astext(self) -> str: (source)

The token as text.

Common interface with docutils.nodes.Node.

Undocumented

Undocumented