tyrian.nodes
-
class tyrian.nodes.AST(content)[source]
Is the overruling object returned from the Parser
-
class tyrian.nodes.Node[source]
Base object for Node’s
-
class tyrian.nodes.ListNode(content, strip=True)[source]
Represents a () in LISP
-
class tyrian.nodes.ContainerNode(content, strip=True)[source]
Aside from being functionally identical to ListNode,
this Node does not represent anything in the AST,
it simply serves as a container; hence the name
-
class tyrian.nodes.IDNode(content)[source]
Represents an ID
-
class tyrian.nodes.NumberNode(content)[source]
Represents a number
-
class tyrian.nodes.StringNode(content)[source]
Represents a string, per se
-
class tyrian.nodes.SymbolNode(content)[source]
Represents a mathematical symbol
-
class tyrian.nodes.QuotedNode(*args, **kwargs)[source]
Represents a quoted token