class documentation

class Token(object): (source)

Constructor: Token(token, categ, semantics)

View In Hierarchy

Class representing a token.

token => category {semantics} e.g. eat => Svar[pl]/var {x y.eat(x,y)}

Method __cmp__ Undocumented
Method __init__ Undocumented
Method __str__ Undocumented
Method categ Undocumented
Method semantics Undocumented
Instance Variable _categ Undocumented
Instance Variable _semantics Undocumented
Instance Variable _token Undocumented
def __cmp__(self, other): (source)

Undocumented

def __init__(self, token, categ, semantics=None): (source)

Undocumented

def __str__(self): (source)

Undocumented

def categ(self): (source)

Undocumented

def semantics(self): (source)

Undocumented

Undocumented

_semantics = (source)

Undocumented

Undocumented