graphtage.constraints

constraints classes

ConditionalMatcher

class graphtage.constraints.ConditionalMatcher(condition: Expression)

Bases: object

__init__(condition: Expression)
classmethod apply(node: TreeNode, condition: Expression)

MatchIf

class graphtage.constraints.MatchIf(condition: Expression)

Bases: ConditionalMatcher

__init__(condition: Expression)
classmethod apply(node: TreeNode, condition: Expression)

MatchUnless

class graphtage.constraints.MatchUnless(condition: Expression)

Bases: ConditionalMatcher

__init__(condition: Expression)
classmethod apply(node: TreeNode, condition: Expression)