TimeloopFE
Loading...
Searching...
No Matches
timeloopfe.common.nodes Namespace Reference

copy Node classes for parsing and processing specification trees. More...

Classes

class  CombinableListNode
 A list node that can be combined with others by extending. More...
 
class  DictNode
 A node that is a dictionary of other nodes. More...
 
class  FlatteningListNode
 A list node that flattens lists of lists. More...
 
class  GrabParentAddMe
 
class  ListNode
 A node that is a list of other nodes. More...
 
class  Node
 Base class for all nodes in the hierarchy. More...
 
class  ParseError
 Exception for nodes. More...
 
class  TypeSpecifier
 Represents a type specifier for a node in the TimeloopFE library. More...
 
class  Unspecified
 Class to represent an unspecified value. More...
 

Functions

bool is_subclass (Any x, Any of)
 
bool isempty (Iterable x)
 

Variables

 default_unspecified_ = Unspecified()
 
 T = TypeVar("T", bound="Node")
 
 _local = threading.local()
 
 _thread_local = threading.local()
 
 lock = threading.Lock()
 
 top_spec
 

Detailed Description

copy Node classes for parsing and processing specification trees.

Node classes for parsing and processing specification trees.

Function Documentation

◆ is_subclass()

bool timeloopfe.common.nodes.is_subclass ( Any x,
Any of )

◆ isempty()

bool timeloopfe.common.nodes.isempty ( Iterable x)

Variable Documentation

◆ _local

timeloopfe.common.nodes._local = threading.local()
protected

◆ _thread_local

timeloopfe.common.nodes._thread_local = threading.local()
protected

◆ default_unspecified_

timeloopfe.common.nodes.default_unspecified_ = Unspecified()

◆ lock

timeloopfe.common.nodes.lock = threading.Lock()

◆ T

timeloopfe.common.nodes.T = TypeVar("T", bound="Node")

◆ top_spec

timeloopfe.common.nodes.top_spec