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(); }
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(); }
public ClrError(Exception inner) : base(Unwrap(inner).Message, ResolvePrototype("ClrError"), Unwrap(inner)) { Type = new BikeString(Unwrap(inner).GetType().FullName); }
public ClrError(Exception inner) : base(Unwrap(inner).Message, ResolvePrototype("ClrError"), Unwrap(inner)) { Type = new BikeString(Unwrap(inner).GetType().FullName); }