Наследование: BikeObject
Пример #1
0
 public BikeFunction(Node node, Identifier funcName,
                     List <FormalParameter> parameters, SourceElements body,
                     ScopeFrame boundScope) : base(InterpretationContext.FunctionBase)
 {
     Node       = node;
     Name       = new BikeString(funcName == null ? Anonymous : funcName.Value);
     Parameters = parameters;
     Body       = body;
     BoundScope = boundScope;
     DefineVariables();
 }
Пример #2
0
 public BikeFunction(Node node, Identifier funcName,
     List<FormalParameter> parameters, SourceElements body,
     ScopeFrame boundScope)
     : base(InterpretationContext.FunctionBase)
 {
     Node = node;
     Name = new BikeString(funcName == null ? Anonymous : funcName.Value);
     Parameters = parameters;
     Body = body;
     BoundScope = boundScope;
     DefineVariables();
 }
Пример #3
0
 public ClrError(Exception inner)
     : base(Unwrap(inner).Message, ResolvePrototype("ClrError"), Unwrap(inner))
 {
     Type = new BikeString(Unwrap(inner).GetType().FullName);
 }
Пример #4
0
 public ClrError(Exception inner)
     : base(Unwrap(inner).Message, ResolvePrototype("ClrError"), Unwrap(inner))
 {
     Type = new BikeString(Unwrap(inner).GetType().FullName);
 }