Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
__slots__ = ('names', )
class Call(VyperNode):
__slots__ = ('func', 'args', 'keywords', 'keyword')
class keyword(VyperNode):
__slots__ = ('arg', 'value')
class Str(VyperNode):
__slots__ = ('s', )
class Compare(VyperNode):
__slots__ = ('comparators', 'ops', 'left', 'right')
class Num(VyperNode):
__slots__ = ('n', )
class NameConstant(VyperNode):
__slots__ = ('value', )
class Attribute(VyperNode):
__slots__ = ('attr', 'value',)
class Op(VyperNode):
__slots__ = ()
class AnnAssign(VyperNode):
__slots__ = ('target', 'annotation', 'value', 'simple')
class Assign(VyperNode):
__slots__ = ('targets', 'value')
class If(VyperNode):
__slots__ = ('test', 'body', 'orelse')
class Assert(VyperNode):
__slots__ = ('test', 'msg')
class For(VyperNode):
__slots__ = ('iter', 'target', 'body')
only_empty_fields = ('orelse', )
class AugAssign(VyperNode):
__slots__ = ('op', 'target', 'value')
class Break(VyperNode):
__slots__ = ()
__slots__ = ('keys', 'values')
class Bytes(VyperNode):
__slots__ = ('s', )
class Add(VyperNode):
__slots__ = ()
class Sub(VyperNode):
__slots__ = ()
class Mult(VyperNode):
__slots__ = ()
class Div(VyperNode):
__slots__ = ()
class Mod(VyperNode):
__slots__ = ()
class Pow(VyperNode):
__slots__ = ()
class In(VyperNode):
__slots__ = ('elts', )
class Dict(VyperNode):
__slots__ = ('keys', 'values')
class Bytes(VyperNode):
__slots__ = ('s', )
class Add(VyperNode):
__slots__ = ()
class Sub(VyperNode):
__slots__ = ()
class Mult(VyperNode):
__slots__ = ()
class Div(VyperNode):
__slots__ = ()
class Mod(VyperNode):
__slots__ = ()
class Pow(VyperNode):
class Tuple(VyperNode):
__slots__ = ('elts', )
class FunctionDef(VyperNode):
__slots__ = ('args', 'body', 'returns', 'name', 'decorator_list', 'pos')
class arguments(VyperNode):
__slots__ = ('args', 'defaults', 'default')
only_empty_fields = ('vararg', 'kwonlyargs', 'kwarg', 'kw_defaults')
class Import(VyperNode):
__slots__ = ('names', )
class Call(VyperNode):
__slots__ = ('func', 'args', 'keywords', 'keyword')
class keyword(VyperNode):
__slots__ = ('arg', 'value')
class Str(VyperNode):
__slots__ = ('s', )
class Compare(VyperNode):
__slots__ = ()
class Sub(VyperNode):
__slots__ = ()
class Mult(VyperNode):
__slots__ = ()
class Div(VyperNode):
__slots__ = ()
class Mod(VyperNode):
__slots__ = ()
class Pow(VyperNode):
__slots__ = ()
class In(VyperNode):
__slots__ = ()
class Gt(VyperNode):
__slots__ = ()
class GtE(VyperNode):
__slots__ = ('class_type', 'name', 'body')
class Raise(VyperNode):
__slots__ = ('exc', )
class Slice(VyperNode):
only_empty_fields = ('lower', )
class alias(VyperNode):
__slots__ = ('name', 'asname')
class ImportFrom(VyperNode):
__slots__ = ('level', 'module', 'names')
__slots__ = ('target', 'annotation', 'value', 'simple')
class Assign(VyperNode):
__slots__ = ('targets', 'value')
class If(VyperNode):
__slots__ = ('test', 'body', 'orelse')
class Assert(VyperNode):
__slots__ = ('test', 'msg')
class For(VyperNode):
__slots__ = ('iter', 'target', 'body')
only_empty_fields = ('orelse', )
class AugAssign(VyperNode):
__slots__ = ('op', 'target', 'value')
class Break(VyperNode):
__slots__ = ()
class Continue(VyperNode):
__slots__ = ()
__slots__ = ()
class And(VyperNode):
__slots__ = ()
class Or(VyperNode):
__slots__ = ()
class Not(VyperNode):
__slots__ = ()
class USub(VyperNode):
__slots__ = ()
class Expr(VyperNode):
__slots__ = ('value', )
class Pass(VyperNode):
__slots__ = ()
class AnnAssign(VyperNode):
__slots__ = ('target', 'annotation', 'value', 'simple')
class Assign(VyperNode):
class arguments(VyperNode):
__slots__ = ('args', 'defaults', 'default')
only_empty_fields = ('vararg', 'kwonlyargs', 'kwarg', 'kw_defaults')
class Import(VyperNode):
__slots__ = ('names', )
class Call(VyperNode):
__slots__ = ('func', 'args', 'keywords', 'keyword')
class keyword(VyperNode):
__slots__ = ('arg', 'value')
class Str(VyperNode):
__slots__ = ('s', )
class Compare(VyperNode):
__slots__ = ('comparators', 'ops', 'left', 'right')
class Num(VyperNode):
__slots__ = ('n', )
class NameConstant(VyperNode):