API documentation

class tri.token.Token(*args, **kwargs)[source]
__init__(*args, **kwargs)

x.__init__(…) initializes x; see help(type(x)) for signature

__lt__(other)

x.__lt__(y) <==> x<y

__repr__() <==> repr(x)[source]
__str__() <==> str(x)[source]
__weakref__

list of weak references to the object (if defined)

classmethod get_declared(parameter='members')

Get the OrderedDict value of the parameter collected by the @declarative class decorator. This is the same value that would be submitted to the __init__ invocation in the members argument (or another name if overridden by the parameter specification) @type cls: class @type parameter: str @return OrderedDict

classmethod set_declared(value, parameter='members')

@type cls: class @type value: OrderedDict @type parameter: str

class tri.token.TokenAttribute(*args, **kwargs)[source]
__init__(*args, **kwargs)

x.__init__(…) initializes x; see help(type(x)) for signature

__lt__(other)

x.__lt__(y) <==> x<y

__weakref__

list of weak references to the object (if defined)

tri.token.with_metaclass(meta, *bases)[source]

Create a base class with a metaclass.