Lines Matching refs:pytree
20 from . import pytree
82 p = pytree.WildcardPattern([[a] for a in alts], min=1, max=1)
89 p = pytree.WildcardPattern([units], min=1, max=1)
94 p = pytree.NegatedPattern(pattern)
118 max = pytree.HUGE
121 max = pytree.HUGE
132 pattern = pytree.WildcardPattern([[pattern]], min=min, max=max)
144 return pytree.LeafPattern(_type_of_literal(value), value)
152 return pytree.LeafPattern(TOKEN_MAP[value])
164 return pytree.NodePattern(type, content)
170 return pytree.WildcardPattern([[subpattern]], min=0, max=1)
198 return pytree.Node(type, children, context=context)
200 return pytree.Leaf(type, value, context=context)