ifcopenshell.express.nodes#

Module Contents#

ifcopenshell.express.nodes.all_rules#
ifcopenshell.express.nodes.rule_definitions#
ifcopenshell.express.nodes.rule_dependencies#
class ifcopenshell.express.nodes.AggregationType(s, loc, tokens, rule=None)#

Bases: Node

aggregate_type#
bounds#
type#
unique#
__repr__(self)#

Return repr(self).

get_type(self)#
init(self)#
class ifcopenshell.express.nodes.AttributeList(s, loc, tokens, rule=None)#

Bases: ListNode

type#
__iter__(self)#
__len__(self)#
__repr__(self)#

Return repr(self).

class ifcopenshell.express.nodes.BinaryType(s, loc, tokens, rule=None)#

Bases: Node

__repr__(self)#

Return repr(self).

class ifcopenshell.express.nodes.BoundSpecification(s, loc, tokens, rule=None)#

Bases: Node

lower#
upper#
__repr__(self)#

Return repr(self).

class ifcopenshell.express.nodes.EntityDeclaration(s, loc, tokens, rule=None)#

Bases: Node

abstract#
name#
subtype#
supertype#
supertypes#
__repr__(self)#

Return repr(self).

get_abstract(self)#
init(self)#
class ifcopenshell.express.nodes.EnumerationType(s, loc, tokens, rule=None)#

Bases: Node

values#
__repr__(self)#

Return repr(self).

class ifcopenshell.express.nodes.ExplicitAttribute(s, loc, tokens, rule=None)#

Bases: Node

name#
optional#
type#
__repr__(self)#

Return repr(self).

get_type(self)#
class ifcopenshell.express.nodes.FunctionDeclaration(s, loc, tokens, rule=None)#

Bases: ProcedureDeclaration

class ifcopenshell.express.nodes.InverseAttribute(s, loc, tokens, rule=None)#

Bases: Node

attribute#
bounds#
entity#
name#
type#
__repr__(self)#

Return repr(self).

class ifcopenshell.express.nodes.ListNode(s, loc, tokens, rule=None)#
__iter__(self)#
__repr__(self)#

Return repr(self).

init(self)#
class ifcopenshell.express.nodes.NamedType(s, loc, tokens, rule=None)#

Bases: Node

type#
__repr__(self)#

Return repr(self).

class ifcopenshell.express.nodes.Node(s, loc, tokens, rule=None)#
__getattr__(self, k)#
__getstate__(self)#
__repr__(self)#

Return repr(self).

__setstate__(self, d)#
any(self)#
init(self)#
class ifcopenshell.express.nodes.ProcedureDeclaration(s, loc, tokens, rule=None)#

Bases: ListNode

property name(self)#
class ifcopenshell.express.nodes.RuleDeclaration(s, loc, tokens, rule=None)#

Bases: ProcedureDeclaration

class ifcopenshell.express.nodes.SelectType(s, loc, tokens, rule=None)#

Bases: Node

values#
__repr__(self)#

Return repr(self).

class ifcopenshell.express.nodes.SimpleType(s, loc, tokens, rule=None)#

Bases: Node

type#
__repr__(self)#

Return repr(self).

get_type(self)#
class ifcopenshell.express.nodes.StringType(s, loc, tokens, rule=None)#

Bases: Node

width#
__repr__(self)#

Return repr(self).

class ifcopenshell.express.nodes.SubTypeExpression(s, loc, tokens, rule=None)#

Bases: Node

super_type#
__repr__(self)#

Return repr(self).

class ifcopenshell.express.nodes.SuperTypeExpression(s, loc, tokens, rule=None)#

Bases: Node

abstract#
sub_types#
__repr__(self)#

Return repr(self).

get_sub_types(self)#
class ifcopenshell.express.nodes.TypeDeclaration(s, loc, tokens, rule=None)#

Bases: Node

name#
type#
utype#
__repr__(self)#

Return repr(self).

init(self)#
class ifcopenshell.express.nodes.WidthSpec(s, loc, tokens, rule=None)#

Bases: Node

fixed#
__repr__(self)#

Return repr(self).

init(self)#
ifcopenshell.express.nodes.do_try(fn)#
ifcopenshell.express.nodes.format_clause(exp)#
ifcopenshell.express.nodes.get_rule_id(x)#
ifcopenshell.express.nodes.to_tree(x, key=None)#