UNPKG

minigrace

Version:

A compiler for the Grace programming language

674 lines 171 kB
let gracecode_constantScope_sourceFile = "/Users/black/Development/mg/gracelang/minigrace/constantScope.grace"; let gracecode_constantScope_sha256 = "33d431ba1026e57fb313d44f0fa7dfd2b57b2628fa9557c8262e85c149192077"; let gracecode_constantScope_minigraceRevision = "b57591d29fc5ee5270d114920bf671367b8c3ecb"; let gracecode_constantScope_minigraceGeneration = "5171"; if (typeof gctCache !== "undefined") gctCache["constantScope"] = "dialect:\n standard\nfreshScopes:\n $105\n $106 trait\n $107\n $109\n $110\n $112\nmodules:\n basic\n mirror\n scope\n standard\npath:\n /Users/black/Development/mg/gracelang/minigrace/constantScope.grace\nscope:$102:\n AstNode type\n CompilerError Unknown (mth) $scope_done\n GatheringError Unknown (mth) $scope_done\n Position type\n Range type\n Scope type\n Variable type\n asDebugString String (go) $scope_string\n asString String (go) $scope_string\n basicAsString String (go) $scope_string\n bindingScope Unknown (def) $scope_done public\n booleanScope Unknown (def) $scope_done public\n builtInsScope Unknown (def) $scope_done public\n canonicalName(1) Unknown (mth) $scope_done\n doneScope Unknown (def) $scope_done public\n emptyRange Unknown (mth) $scope_done\n emptyScope Unknown (def) $103 public\n exceptionScope Unknown (def) $scope_done public\n fakeSymbolTable Unknown (mth) $109\n fn0Scope Unknown (def) $scope_done public\n fn1Scope Unknown (def) $scope_done public\n fn2Scope Unknown (def) $scope_done public\n fn3Scope Unknown (def) $scope_done public\n initializeConstantScopes Unknown (mth) $scope_done\n isMe(1) Boolean (go) $scope_boolean\n iterScope Unknown (def) $scope_done public\n line(1)column(1) Position (mth) $110\n myIdentityHash Number (go) $scope_number\n noPosition Unknown (mth) $scope_done\n nullNode AstNode (mth) $111\n numberScope Unknown (def) $scope_done public\n numericName(1) Unknown (mth) $scope_done\n objectScope Unknown (def) $scope_done public\n patternScope Unknown (def) $scope_done public\n pseudoNode(1)typed(1) Unknown (mth) $106\n pseudoNode(1)typed(1)scope(1) Unknown (mth) $105\n scopeFor(1) Unknown (mth) $scope_done\n sequenceScope Unknown (def) $scope_done public\n start(1)end(1) Range (mth) $112\n stringScope Unknown (def) $scope_done public\n typeNode(1) Unknown (mth) $scope_done\n typeNode(1)params(1) Unknown (mth) $107\n typeScope Unknown (def) $scope_done public\n typeType Unknown (mth) $108\n un Unknown (def) $scope_done public\n universalScope Unknown (def) $104 public\nscope:$103:\n ::(1) Unknown (mth) $scope_done\n <(1) Unknown (mth) $scope_done\n ==(1) Unknown (mth) $scope_done\n add(1)withName(1) Unknown (mth) $scope_done\n allNamesAndValuesDo(1) Unknown (mth) $scope_done\n allNamesAndValuesDo(1)filteringOut(1) Unknown (mth) $scope_done\n asDebugString String (go) $scope_string\n asString Unknown (mth) $scope_done\n attributeScopeOf(1)in(1) Unknown (mth) $scope_done\n basicAsString String (go) $scope_string\n clear Unknown (mth) $scope_done\n currentObjectScope Unknown (mth) $scope_done\n defines(1) Unknown (mth) $scope_done\n enclosingObjectScope Unknown (mth) $scope_done\n hash Unknown (mth) $scope_done\n isDialectScope Unknown (mth) $scope_done\n isFresh Unknown (mth) $scope_done\n isMe(1) Boolean (go) $scope_boolean\n isObjectScope Unknown (mth) $scope_done\n isTheEmptyScope Unknown (mth) $scope_done\n isTheUniversalScope Unknown (mth) $scope_done\n localAndReusedNamesAndValuesDo(1) Unknown (mth) $scope_done\n localNames Unknown (mth) $scope_done\n localNamesAndValuesDo(1) Unknown (mth) $scope_done\n lookup(1) Unknown (mth) $scope_done\n lookup(1)ifAbsent(1) Unknown (mth) $scope_done\n lookup(1)ifAbsent(1)ifPresent(1) Unknown (mth) $scope_done\n lookupLexically(1)ifAbsent(1) Unknown (mth) $scope_done\n lookupLexically(1)ifAbsent(1)ifPresent(1) Unknown (mth) $scope_done\n lookupLocally(1)ifAbsent(1) Unknown (mth) $scope_done\n lookupLocallyOrReused(1)ifAbsent(1) Unknown (mth) $scope_done\n lookupLocallyOrReused(1)ifAbsent(1)ifPresent(1) Unknown (mth) $scope_done\n meet(1) Unknown (mth) $scope_done\n myIdentityHash Number (go) $scope_number\n node Unknown (mth) $scope_done\n node:=(1) Unknown (mth) $scope_done\n outerScope Unknown (mth) $scope_done\n outerScope:=(1) Unknown (mth) $scope_done\n prefix== Unknown (mth) $scope_done\n prefix\u2260 Unknown (mth) $scope_done\n reusedNames Unknown (mth) $scope_done\n types Unknown (mth) $scope_done\n uid Unknown (def) $scope_string\n variety Unknown (mth) $scope_done\n \u2260(1) Unknown (mth) $scope_done\nscope:$104:\n ::(1) Unknown (mth) $scope_done\n <(1) Unknown (mth) $scope_done\n ==(1) Unknown (mth) $scope_done\n add(1) Unknown (mth) $scope_done\n add(1)withName(1) Unknown (mth) $scope_done\n allNames Unknown (mth) $scope_done\n allNamesAndValuesDo(1) Unknown (mth) $scope_done\n allNamesAndValuesDo(1)filteringOut(1) Unknown (mth) $scope_done\n allowsShadowing Unknown (mth) $scope_done\n areReusedNamesCompleted Unknown (mth) $scope_done\n asDebugString Unknown (mth) $scope_done\n asString Unknown (mth) $scope_done\n asStringWithParents Unknown (mth) $scope_done\n attributeScopeOf(1)in(1) Unknown (mth) $scope_done\n basicAsString String (go) $scope_string\n checkForShadowing(1) Unknown (mth) $scope_done\n clear Unknown (mth) $scope_done\n copy(1) Unknown (mth) $scope_done\n currentObjectScope Unknown (mth) $scope_done\n defines(1) Unknown (mth) $scope_done\n definesLocally(1) Unknown (mth) $scope_done\n definesLocallyOrReuses(1) Unknown (mth) $scope_done\n dialectError(1) Unknown (mth) $scope_done\n doesNotDefineLocally(1) Unknown (mth) $scope_done\n enclosingObjectScope Unknown (mth) $scope_done\n error(1)shadows(1) Unknown (mth) $scope_done\n hash Unknown (mth) $scope_done\n in(1) Unknown (mth) $scope_done\n initialize(1) Unknown (mth) $scope_done\n isBuiltInScope Unknown (mth) $scope_done\n isDialectScope Unknown (mth) $scope_done\n isEmpty Unknown (mth) $scope_done\n isExternal Unknown (mth) $scope_done\n isFresh Unknown (mth) $scope_done\n isFresh:=(1) Unknown (mth) $scope_done\n isMe(1) Boolean (go) $scope_boolean\n isModuleScope Unknown (mth) $scope_done\n isObjectScope Unknown (mth) $scope_done\n isTheEmptyScope Unknown (mth) $scope_done\n isTheUniversalScope Unknown (mth) $scope_done\n isTrait Unknown (mth) $scope_done\n iterationError Unknown (mth) $scope_done\n localAndReusedNamesAndValuesDo(1) Unknown (mth) $scope_done\n localAndReusedNamesAndValuesDo(1)filteringOut(1) Unknown (mth) $scope_done\n localNames Unknown (mth) $scope_done\n localNamesAndValuesDo(1) Unknown (mth) $scope_done\n lookup(1) Unknown (mth) $scope_done\n lookup(1)ifAbsent(1) Unknown (mth) $scope_done\n lookup(1)ifAbsent(1)ifPresent(1) Unknown (mth) $scope_done\n lookupLexically(1) Unknown (mth) $scope_done\n lookupLexically(1)ifAbsent(1) Unknown (mth) $scope_done\n lookupLexically(1)ifAbsent(1)ifPresent(1) Unknown (mth) $scope_done\n lookupLocally(1)ifAbsent(1) Unknown (mth) $scope_done\n lookupLocally(1)ifAbsent(1)ifPresent(1) Unknown (mth) $scope_done\n lookupLocallyOrOutwards(1)ifAbsent(1) Unknown (mth) $scope_done\n lookupLocallyOrReused(1) Unknown (mth) $scope_done\n lookupLocallyOrReused(1)ifAbsent(1) Unknown (mth) $scope_done\n lookupLocallyOrReused(1)ifAbsent(1)ifPresent(1) Unknown (mth) $scope_done\n lookupReused(1)ifAbsent(1) Unknown (mth) $scope_done\n lookupReused(1)ifAbsent(1)ifPresent(1) Unknown (mth) $scope_done\n meet(1) Unknown (mth) $scope_done\n myIdentityHash Number (go) $scope_number\n names Unknown (def) $scope_done\n node Unknown (mth) $scope_done\n node(1) Unknown (mth) $scope_done\n node:=(1) Unknown (mth) $scope_done\n openingNode Unknown (var) $scopeEmpty\n openingNode:=(1) Unknown (var) $scopeEmpty\n outerScope Unknown (mth) $scope_done\n outerScope:=(1) Unknown (mth) $scope_done\n prefix== Unknown (mth) $scope_done\n prefix\u2260 Unknown (mth) $scope_done\n redeclarationError(1)variable(1) Unknown (mth) $scope_done\n redefine(1)withName(1) Unknown (mth) $scope_done\n removeReused(1)ifAbsent(1) Unknown (mth) $scope_done\n reportShadowingErrors Unknown (mth) $scope_done\n reusedNames Unknown (mth) $scope_done\n reusedNamesAndValuesDo(1) Unknown (mth) $scope_done\n reuses(1) Unknown (mth) $scope_done\n structuralError(1)variable(1) Unknown (mth) $scope_done\n types Unknown (mth) $scope_done\n uid Unknown (mth) $scope_done\n uidCache Unknown (var) $scopeEmpty\n uidCache:=(1) Unknown (var) $scopeEmpty\n universalVariable Unknown (def) $scope_done\n variety Unknown (mth) $scope_done\n varsAreMethods Unknown (mth) $scope_done\n withSurroundingScopesDo(1) Unknown (mth) $scope_done\n \u2260(1) Unknown (mth) $scope_done\nscope:$105:\n ::(1) Unknown (mth) $scope_done\n ==(1) Unknown (mth) $scope_done\n annotations Unknown (mth) $scope_done\n arrow Unknown (mth) $scope_done\n asDebugString String (go) $scope_string\n asString String (go) $scope_string\n attrScope Unknown (var) $scopeEmpty\n attrScope:=(1) Unknown (var) $scopeEmpty\n attributeScope Unknown (mth) $scope_done\n attributeScope(1) Unknown (mth) $scope_done\n basicAsString String (go) $scope_string\n column Unknown (mth) $scope_done\n decType Unknown (def) $scopeEmpty public\n hash Unknown (def) $scopeEmpty public\n isDeclaredByParent Unknown (mth) $scope_done\n isDialect Unknown (mth) $scope_done\n isIdentifier Unknown (mth) $scope_done\n isMarkerDeclaration Unknown (mth) $scope_done\n isMe(1) Boolean (go) $scope_boolean\n isModule Unknown (mth) $scope_done\n line Unknown (mth) $scope_done\n myIdentityHash Number (go) $scope_number\n nameString Unknown (def) $scopeEmpty public\n numTypeParams Unknown (var) $scopeEmpty public\n numTypeParams:=(1) Unknown (var) $scopeEmpty public\n numberOfParameters Unknown (var) $scopeEmpty public\n numberOfParameters:=(1) Unknown (var) $scopeEmpty public\n prefix== Unknown (mth) $scope_done\n prefix\u2260 Unknown (mth) $scope_done\n range Unknown (mth) $scope_done\n scope Unknown (def) $scopeEmpty public\n sugg Unknown (mth) $scope_done\n \u2260(1) Unknown (mth) $scope_done\nscope:$106:\n ::(1) Unknown (mth) $scope_done\n ==(1) Unknown (mth) $scope_done\n annotations Unknown (mth) $scope_done\n arrow Unknown (mth) $scope_done\n asDebugString String (go) $scope_string\n asString String (go) $scope_string\n attrScope Unknown (var) $scopeEmpty\n attrScope:=(1) Unknown (var) $scopeEmpty\n attributeScope Unknown (mth) $scope_done\n attributeScope(1) Unknown (mth) $scope_done\n basicAsString String (go) $scope_string\n column Unknown (mth) $scope_done\n decType Unknown (def) $scopeEmpty public\n hash Unknown (def) $scopeEmpty public\n isDeclaredByParent Unknown (mth) $scope_done\n isDialect Unknown (mth) $scope_done\n isIdentifier Unknown (mth) $scope_done\n isMarkerDeclaration Unknown (mth) $scope_done\n isMe(1) Boolean (go) $scope_boolean\n isModule Unknown (mth) $scope_done\n line Unknown (mth) $scope_done\n myIdentityHash Number (go) $scope_number\n nameString Unknown (def) $scopeEmpty public\n numTypeParams Unknown (var) $scopeEmpty public\n numTypeParams:=(1) Unknown (var) $scopeEmpty public\n numberOfParameters Unknown (var) $scopeEmpty public\n numberOfParameters:=(1) Unknown (var) $scopeEmpty public\n prefix== Unknown (mth) $scope_done\n prefix\u2260 Unknown (mth) $scope_done\n range Unknown (mth) $scope_done\n scope Unknown (def) $scopeEmpty public\n sugg Unknown (mth) $scope_done\n \u2260(1) Unknown (mth) $scope_done\nscope:$107:\n ::(1) Unknown (mth) $scope_done\n ==(1) Unknown (mth) $scope_done\n annotations Unknown (mth) $scope_done\n arrow Unknown (mth) $scope_done\n asDebugString String (go) $scope_string\n asString String (go) $scope_string\n attrScope Unknown (var) $scopeEmpty\n attrScope:=(1) Unknown (var) $scopeEmpty\n attributeScope Unknown (mth) $scope_done\n attributeScope(1) Unknown (mth) $scope_done\n basicAsString String (go) $scope_string\n column Unknown (mth) $scope_done\n decType Unknown (mth) $scope_done override\n hash Unknown (def) $scopeEmpty public\n isDeclaredByParent Unknown (mth) $scope_done\n isDialect Unknown (mth) $scope_done\n isIdentifier Unknown (mth) $scope_done\n isMarkerDeclaration Unknown (mth) $scope_done\n isMe(1) Boolean (go) $scope_boolean\n isModule Unknown (mth) $scope_done\n line Unknown (mth) $scope_done\n myIdentityHash Number (go) $scope_number\n nameString Unknown (def) $scopeEmpty public\n numTypeParams Unknown (def) $scopeEmpty public\n numTypeParams:=(1) Unknown (var) $scopeEmpty public\n numberOfParameters Unknown (var) $scopeEmpty public\n numberOfParameters:=(1) Unknown (var) $scopeEmpty public\n prefix== Unknown (mth) $scope_done\n prefix\u2260 Unknown (mth) $scope_done\n range Unknown (mth) $scope_done\n scope Unknown (def) $scopeEmpty public\n sugg Unknown (mth) $scope_done\n \u2260(1) Unknown (mth) $scope_done\nscope:$108:\n ::(1) Unknown (mth) $scope_done\n ==(1) Unknown (mth) $scope_done\n annotations Unknown (mth) $scope_done\n arrow Unknown (mth) $scope_done\n asDebugString String (go) $scope_string\n asString String (go) $scope_string\n attrScope Unknown (var) $scopeEmpty\n attrScope:=(1) Unknown (var) $scopeEmpty\n attributeScope Unknown (mth) $scope_done\n attributeScope(1) Unknown (mth) $scope_done\n basicAsString String (go) $scope_string\n column Unknown (mth) $scope_done\n decType Unknown (mth) $scope_done\n hash Unknown (def) $scopeEmpty public\n isDeclaredByParent Unknown (mth) $scope_done\n isDialect Unknown (mth) $scope_done\n isIdentifier Unknown (mth) $scope_done\n isMarkerDeclaration Unknown (mth) $scope_done\n isMe(1) Boolean (go) $scope_boolean\n isModule Unknown (mth) $scope_done\n line Unknown (mth) $scope_done\n myIdentityHash Number (go) $scope_number\n nameString Unknown (def) $scopeEmpty public\n numTypeParams Unknown (def) $scopeEmpty public\n numTypeParams:=(1) Unknown (var) $scopeEmpty public\n numberOfParameters Unknown (var) $scopeEmpty public\n numberOfParameters:=(1) Unknown (var) $scopeEmpty public\n prefix== Unknown (mth) $scope_done\n prefix\u2260 Unknown (mth) $scope_done\n range Unknown (mth) $scope_done\n scope Unknown (def) $scopeEmpty public\n sugg Unknown (mth) $scope_done\n \u2260(1) Unknown (mth) $scope_done\nscope:$109:\n ::(1) Unknown (mth) $scope_done\n ==(1) Unknown (mth) $scope_done\n areReusedNamesCompleted Unknown (mth) $scope_done\n asDebugString String (go) $scope_string\n asString Unknown (mth) $scope_done\n basicAsString String (go) $scope_string\n hash Unknown (mth) $scope_done\n isFresh Unknown (mth) $scope_done\n isMe(1) Boolean (go) $scope_boolean\n localNames Unknown (mth) $scope_done\n myIdentityHash Number (go) $scope_number\n node Unknown (var) $scopeEmpty\n node:=(1) Unknown (var) $scopeEmpty\n prefix== Unknown (mth) $scope_done\n prefix\u2260 Unknown (mth) $scope_done\n variety Unknown (mth) $scope_done\n varsAreMethods Unknown (mth) $scope_done\n \u2260(1) Unknown (mth) $scope_done\nscope:$110:\n ::(1) Unknown (mth) $scope_done\n <(1) Boolean (mth) $scope_done\n ==(1) Boolean (mth) $scope_done\n >(1) Boolean (mth) $scope_done\n addColumn(1) Unknown (mth) $scope_done\n addLine(1) Unknown (mth) $scope_done\n asDebugString String (go) $scope_string\n asString Unknown (mth) $scope_done\n basicAsString String (go) $scope_string\n column Unknown (def) $scopeEmpty\n hash Number (mth) $scope_done\n isMe(1) Boolean (go) $scope_boolean\n line Unknown (def) $scopeEmpty\n myIdentityHash Number (go) $scope_number\n prefix== Unknown (mth) $scope_done\n prefix\u2260 Unknown (mth) $scope_done\n \u2260(1) Unknown (mth) $scope_done\n \u2264(1) Boolean (mth) $scope_done\n \u2265(1) Boolean (mth) $scope_done\nscope:$111:\n ::(1) Unknown (mth) $scope_done\n ==(1) Unknown (mth) $scope_done\n accept(1)from(1) Unknown (mth) $scope_done\n annotations Unknown (mth) $scope_done\n asDebugString String (go) $scope_string\n asString Unknown (mth) $scope_done\n basicAsString String (go) $scope_string\n childrenDo(1) Unknown (mth) $scope_done\n childrenMap(1) Unknown (mth) $scope_done\n column Unknown (def) $scope_number\n column:=(1) Unknown (mth) $scope_done\n comments Unknown (mth) $scope_done\n decType Unknown (mth) $scope_done\n end Position (mth) $scope_done\n endCol Unknown (mth) $scope_done\n hasAnnotation(1) Unknown (mth) $scope_done\n hash Unknown (mth) $scope_done\n inClass Unknown (mth) $scope_done\n inTrait Unknown (mth) $scope_done\n isAssignment Unknown (mth) $scope_done\n isBlock Unknown (mth) $scope_done\n isBuiltIn Unknown (mth) $scope_done\n isCall Unknown (mth) $scope_done\n isClass Unknown (mth) $scope_done\n isComment Unknown (mth) $scope_done\n isConstant Unknown (mth) $scope_done\n isDeclaredByParent Unknown (mth) $scope_done\n isDialect Unknown (mth) $scope_done\n isExecutable Unknown (mth) $scope_done\n isExternal Unknown (mth) $scope_done\n isFresh Unknown (mth) $scope_done\n isIdentifier Unknown (mth) $scope_done\n isImport Unknown (mth) $scope_done\n isMarkerDeclaration Unknown (mth) $scope_done\n isMe(1) Boolean (go) $scope_boolean\n isMember Unknown (mth) $scope_done\n isMethod Unknown (mth) $scope_done\n isModule Unknown (mth) $scope_done\n isNull Unknown (mth) $scope_done\n isObject Unknown (mth) $scope_done\n isOuter Unknown (mth) $scope_done\n isReturn Unknown (mth) $scope_done\n isSelf Unknown (mth) $scope_done\n isSelfOrOuter Unknown (mth) $scope_done\n isSequenceConstructor Unknown (mth) $scope_done\n isSuper Unknown (mth) $scope_done\n isTrait Unknown (mth) $scope_done\n isTypeDec Unknown (mth) $scope_done\n kind Unknown (def) $scope_string\n line Unknown (def) $scope_number\n line:=(1) Unknown (mth) $scope_done\n map(1)ancestors(1) Unknown (mth) $scope_done\n myIdentityHash Number (go) $scope_number\n nameString Unknown (mth) $scope_done\n newAccept(1) Unknown (mth) $scope_done\n prefix== Unknown (mth) $scope_done\n prefix\u2260 Unknown (mth) $scope_done\n pretty(1) Unknown (mth) $scope_done\n range Unknown (mth) $scope_done\n register Unknown (def) $scope_string\n scope Unknown (def) $109\n shallowCopy Unknown (mth) $scope_done\n start Unknown (mth) $scope_done\n toGrace(1) Unknown (mth) $scope_done\n \u2260(1) Unknown (mth) $scope_done\nscope:$112:\n ::(1) Unknown (mth) $scope_done\n <(1) Unknown (mth) $scope_done\n ==(1) Unknown (mth) $scope_done\n >(1) Unknown (mth) $scope_done\n arrow Unknown (mth) $scope_done\n asDebugString String (go) $scope_string\n asString Unknown (mth) $scope_done\n basicAsString String (go) $scope_string\n column Unknown (mth) $scope_done\n end Unknown (def) $scopeEmpty\n hash Number (mth) $scope_done\n isMe(1) Boolean (go) $scope_boolean\n line Unknown (mth) $scope_done\n lineRangeString Unknown (mth) $scope_done\n myIdentityHash Number (go) $scope_number\n prefix== Unknown (mth) $scope_done\n prefix\u2260 Unknown (mth) $scope_done\n rangeLongString Unknown (mth) $scope_done\n rangeString Unknown (mth) $scope_done\n start Unknown (def) $scopeEmpty\n sugg Unknown (mth) $scope_done\n \u2260(1) Unknown (mth) $scope_done\n \u2264(1) Unknown (mth) $scope_done\n \u2265(1) Unknown (mth) $scope_done\nself:\n $102\ntypes:\n"; if (typeof originalSourceLines !== "undefined") { originalSourceLines["constantScope"] = [ "dialect \"standard\"", "", "import \"scope\" as sm", "import \"mirror\" as mirror", "import \"basic\" as basic", "", "use basic.open", "", "def emptyScope is public = sm.emptyScope", "def builtInsScope is public = sm.builtInScope.in(emptyScope)", "def objectScope is public = sm.predefinedObjectScope \"graceObject\"", "def booleanScope is public = sm.predefinedObjectScope \"boolean\"", "def numberScope is public = sm.predefinedObjectScope \"number\"", "def stringScope is public = sm.predefinedObjectScope \"string\"", "def sequenceScope is public = sm.predefinedObjectScope \"sequence\"", "def patternScope is public = sm.predefinedObjectScope \"pattern\"", "def iterScope is public = sm.predefinedObjectScope \"iter\"", "def doneScope is public = sm.predefinedObjectScope \"done\"", "def fn0Scope is public = sm.predefinedObjectScope \"function 0\"", "def fn1Scope is public = sm.predefinedObjectScope \"function 1\"", "def fn2Scope is public = sm.predefinedObjectScope \"function 2\"", "def fn3Scope is public = sm.predefinedObjectScope \"function 3\"", "def bindingScope is public = sm.predefinedObjectScope \"binding\"", "def exceptionScope is public = sm.predefinedObjectScope \"exception\"", "def universalScope is public = sm.universalScope", "def typeScope is public = sm.predefinedObjectScope \"Type\"", "", "", "def un is public = typeNode \"Unknown\" // used from identifierresolution", "def bool = typeNode \"Boolean\"", "def str = typeNode \"String\"", "def num = typeNode \"Number\"", "def obj = typeNode \"Object\"", "def seq = typeNode \"Sequence\" params 1", "def iter = typeNode \"Iterator\" params 1", "def dn = typeNode \"Done\"", "def non = typeNode \"None\"", "def fn0 = typeNode \"Function0\" params 2", "def fn1 = typeNode \"Function1\" params 2", "def fn2 = typeNode \"Function2\" params 2", "def fn3 = typeNode \"Function3\" params 2", "def pat = typeNode \"Pattern\"", "def ex = typeNode \"Exception\"", "def bind = typeNode \"Binding\" params 2", "def typ = typeNode \"Type\" params 1", "", "// The dictionaries below define the attributes of various built-in objects", "// It's ok that some methods are missing; they are treated as returning", "// Unknown objects, and given as attributeScope \"universalScope\"", "", "def graceObjectAttributes = dictionary [", " \"def\"::objectScope,", " \"asString\"::str, \"asDebugString\"::str, \"basicAsString\"::str,", " \"isMe(_)\"::bool, \"myIdentityHash\"::num", "]", "def doneAttributes = graceObjectAttributes // will they always be the same?", "def equalityAttributes = graceObjectAttributes ++ dictionary [", " \"==(_)\"::bool, \"≠(_)\"::bool, \"hash\"::bool, \"::(_)\"::bind, \"matches(_)\"::bool", "]", "def patternAttributes = dictionary [", " \"def\"::patternScope,", " \"matches(_)\"::bool, \"&(_)\"::pat, \"|(_)\"::pat, \"prefix¬\"::pat", "]", "def booleanAttributes = equalityAttributes ++ patternAttributes ++ dictionary [", " \"def\"::booleanScope,", " \"not\"::bool, \"prefix!\"::bool, \"&&(_)\"::bool, \"||(_)\"::bool", "]", "def numberAttributes = equalityAttributes ++ patternAttributes ++ dictionary [", " \"def\"::numberScope,", " \"+(_)\"::num, \"-(_)\"::num, \"^(_)\"::num,", " \"*(_)\"::num, \"/(_)\"::num, \"%(_)\"::num,", " \"÷(_)\"::num, \"..(_)\"::seq, \"downTo(_)\"::seq,", " \"prefix-\"::num, \"<(_)\"::bool, \"≤(_)\"::bool,", " \"≥(_)\"::bool, \">(_)\"::bool, \"compare(_)\"::num,", " \"isInteger\"::bool, \"inBase(_)\"::str, \"asString\"::str,", " \"asDebugString\"::str, \"asStringDecimals(_)\"::str, \"truncated\"::num,", " \"rounded\"::num, \"floor\"::num, \"ceiling\"::num, \"abs\"::num,", " \"sgn\"::num, \"isNaN\"::bool, \"isEven\"::bool, \"isOdd\"::bool,", " \"sin\"::num, \"cos\"::num, \"tan\"::num, \"asin\"::num,", " \"acos\"::num, \"atan\"::num, \"lg\"::num, \"ln\"::num, \"sqrt\"::num,", " \"exp\"::num, \"log10\"::num, \"matches(_)\"::bool,", " \"prefix<\"::pat, \"prefix≤\"::pat, \"prefix>\"::pat, \"prefix≥\"::pat", "]", "def stringAttributes = graceObjectAttributes ++ patternAttributes ++", " equalityAttributes ++ dictionary [", " \"def\"::stringScope,", " \"*(_)\"::str, \"++(_)\"::str, \"<(_)\"::bool,", " \"≤(_)\"::bool, \"reverseTimesNumber(_)\"::str,", " \">(_)\"::bool, \"≥(_)\"::bool, \"at(_)\"::str,", " \"first\"::str, \"second\"::str, \"third\"::str, \"fourth\"::str, \"fifth\"::str,", " \"asLower\"::str, \"asNumber\"::num, \"asUpper\"::str,", " \"do(_)\"::dn, \"capitalized\"::str, \"compare(_)\"::num,", " \"contains(_)\"::bool, \"endsWith(_)\"::bool, \"filter(_)\"::str,", " \"fold(_)startingWith(_)\"::un, \"hash\"::num, \"indexOf(_)\"::num,", " \"indexOf(_)ifAbsent(_)\"::num, \"indexOf(_)startingAt(_)\"::num,", " \"indexOf(_)startingAt(_)ifAbsent(_)\"::num, \"indices\"::str,", " \"keys\"::str, \"isEmpty\"::bool, \"iterator\"::iter, \"includes(_)\"::bool,", " \"keysAndValuesDo(_)\"::dn, \"lastIndexOf(_)\"::num,", " \"lastIndexOf(_)startingAt(_)\"::num, \"lastIndexOf(_)ifAbsent(_)\"::num,", " \"lastIndexOf(_)startingAt(_)ifAbsent(_)\"::num, \"map(_)\"::str,", " \"matches(_)\"::bool, \"ord\"::num, \"replace(_)with(_)\"::str,", " \"size\"::num, \"split(_)\"::str, \"startsWith(_)\"::bool,", " \"startsWithDigit\"::bool, \"startsWithLetter\"::bool, \"startsWithPeriod\"::bool,", " \"startsWithSpace\"::bool, \"substringFrom(_)size(_)\"::str,", " \"substringFrom(_)to(_)\"::str, \"substringFrom(_)\"::str,", " \"trim\"::str, \"quoted\"::str, \">>(_)\"::str, \"last\"::str,", " \"<<(_)\"::str, \"do(_)separatedBy(_)\"::dn", "]", "def sequenceAttributes = graceObjectAttributes ++ equalityAttributes ++ dictionary [", " \"def\"::sequenceScope,", " \"size\"::num, \"indexOf(_)\"::num, \"indexOf(_)ifAbsent(_)\"::num,", " \"contains(_)\"::bool, \"reversed\"::seq, \"keys\"::seq, \"indices\"::seq,", " \"includes(_)\"::bool, \"keysAndValuesDo(_)\"::dn, \"do(_)\"::dn,", " \"do(_)separatedBy(_)\"::dn, \"sorted\"::seq, \"iterator\"::iter,", " \"++(_)\"::seq, \"isEmpty\"::bool, \"sortedBy(_)\"::seq, \"filter(_)\"::seq,", " \"map(_)\"::seq, \"values\"::seq", "]", "def iterAttributes = graceObjectAttributes ++ dictionary [", " \"def\"::iterScope,", " \"next\"::un, \"hasNext\"::bool", "]", "def exAttributes = graceObjectAttributes ++ dictionary [", " \"def\"::exceptionScope,", " \"raise(_)\"::non, \"raise(_)with(_)\"::non, \"refine(_)\"::ex", "]", "def noAttributes = dictionary [", " \"def\"::emptyScope", "]", "def bindAttributes = graceObjectAttributes ++ equalityAttributes ++ dictionary [", " \"def\"::bindingScope", "]", "def fn0Attributes = graceObjectAttributes ++ dictionary [", " \"def\"::fn0Scope", "]", "def fn1Attributes = graceObjectAttributes ++ dictionary [", " \"def\"::fn1Scope, \"matches(_)\"::bool", "]", "def fn2Attributes = graceObjectAttributes ++ dictionary [", " \"def\"::fn2Scope, \"matches(_,_)\"::bool", "]", "def fn3Attributes = graceObjectAttributes ++ dictionary [", " \"def\"::fn3Scope, \"matches(_,_,_)\"::bool", "]", "def typeAttributes = graceObjectAttributes ++ equalityAttributes ++", " patternAttributes ++ dictionary [", " \"def\"::typeScope,", " \"<:(_)\"::bool, \":>(_)\"::bool", "]", "", "def basicObjectAttributes = dictionary [", " obj::graceObjectAttributes,", " bool::booleanAttributes,", " num::numberAttributes,", " str::stringAttributes,", " seq::sequenceAttributes,", " iter::iterAttributes,", " dn::doneAttributes,", " fn0::fn0Attributes,", " fn1::fn1Attributes,", " fn2::fn2Attributes,", " fn3::fn3Attributes,", " non::noAttributes,", " ex::exAttributes,", " pat::patternAttributes,", " bind::bindAttributes,", " typ::typeAttributes", "]", "", "initializeConstantScopes", "", "method scopeFor(typePseudoNode) {", " // answers the scope for typePseudoNode, e.g., if typePseudoNode == bool, return booleanScope", "", " def attribDict = basicObjectAttributes.at(typePseudoNode) ifAbsent {", " if (typePseudoNode == un) then { return universalScope }", " ProgrammingError.raise \"no entry for {typePseudoNode} in the dictionary basicObjectAttributes\"", " }", " attribDict.at \"def\"", "}", "", "method initializeConstantScopes {", " // populate the scopes corresponding to the language literals.", " // We reflect on a witness object, rather than using its type,", " // so that we include the confidential method names", "", " mirror.reflect(object{}).allMethodNames.do { each ->", " objectScope.add(sm.graceObjectMethodFrom (", " pseudoNode (numericName(each))", " typed (graceObjectAttributes.at(each) ifAbsent{ un })))", " }", " mirror.reflect(true).allMethodNames.do { each ->", " booleanScope.add(sm.methodVariableFrom (", " pseudoNode (numericName(each))", " typed (booleanAttributes.at(each) ifAbsent{ un })))", " }", " mirror.reflect(1).allMethodNames.do { each ->", " numberScope.add(sm.methodVariableFrom (", " pseudoNode (numericName(each))", " typed (numberAttributes.at(each) ifAbsent{ un })))", " }", " mirror.reflect \"a\".allMethodNames.do { each ->", " stringScope.add(sm.methodVariableFrom (", " pseudoNode (numericName(each))", " typed (stringAttributes.at(each) ifAbsent{ un })))", " }", " mirror.reflect [].allMethodNames.do { each ->", " sequenceScope.add(sm.methodVariableFrom (", " pseudoNode (numericName(each))", " typed (sequenceAttributes.at(each) ifAbsent{ un })))", " }", " mirror.reflect ([].iterator).allMethodNames.do { each ->", " iterScope.add(sm.methodVariableFrom (", " pseudoNode (numericName(each))", " typed (iterAttributes.at(each) ifAbsent{ un })))", " }", " mirror.reflect {}.allMethodNames.do { each ->", " fn0Scope.add(sm.methodVariableFrom (", " pseudoNode (numericName(each))", " typed (fn0Attributes.at(each) ifAbsent { un })))", " }", " mirror.reflect {_ -> }.allMethodNames.do { each ->", " fn1Scope.add(sm.methodVariableFrom (", " pseudoNode (numericName(each))", " typed (fn0Attributes.at(each) ifAbsent { un })))", " }", " mirror.reflect {_, _ -> }.allMethodNames.do { each ->", " fn2Scope.add(sm.methodVariableFrom (", " pseudoNode (numericName(each))", " typed (fn0Attributes.at(each) ifAbsent { un })))", " }", " mirror.reflect {_, _, _ -> }.allMethodNames.do { each ->", " fn3Scope.add(sm.methodVariableFrom (", " pseudoNode (numericName(each))", " typed (fn3Attributes.at(each) ifAbsent { un })))", " }", "", " builtInsScope.add(", " sm.defVariableFrom (pseudoNode \"true\" typed (bool)))", " builtInsScope.add(", " sm.defVariableFrom (pseudoNode \"false\" typed (bool)))", " builtInsScope.add(", " sm.methodVariableFrom (pseudoNode \"print(1)\" typed (dn)))", " builtInsScope.add(", " sm.methodVariableFrom (pseudoNode \"native(1)code(1)\" typed (un)))", "}", "", "class pseudoNode (name) typed (t) scope (s) {", " // a pseudoNode is a fake AST node for things that do not have", " // a real AST node, eg., imported things, and built-in things.", " // It support just enough of the AstNode interface to work …", " use equality", "", " def nameString is public = name", " method == (other) { nameString == other.nameString }", " def hash is public = nameString.hash // we KNOW that we will need this", " def decType is public = t", " def scope is public = s", "", " var attrScope := false // whereas a real node will find its attribute", " // scope in the AST, a pseudoNode just remembers it", " method attributeScope(scp) {", " // a writer method that retrns self, for chaining", " attrScope := scp", " self", " }", " method attributeScope {", " if (false == attrScope) then { attrScope := scopeFor(t) }", " // delayed evaluation to allow for circularity", " attrScope", " }", " method range { emptyRange }", " method isMarkerDeclaration { false }", " method annotations { [] }", " method isIdentifier { false }", " method isDialect { name == \"$dialect\" }", " method isModule { (name == \"$module\") || isDialect }", " method isDeclaredByParent { false }", " var numberOfParameters is public := mirror.numberOfParameters(name)", " var numTypeParams is public := 0", " method line { 0 }", " method column { 0 }", " method arrow { \"\" }", " method sugg { [] }", "", "}", "class pseudoNode (name) typed (t) {", " inherit pseudoNode (name) typed (t) scope (builtInsScope)", " // TODO: make this a method that just delegates to the above", " // not currently recognized as fresh", "}", "", "class typeNode (name) params (n) {", " // a pseudoNode with the declared type of \"Type\"", " inherit pseudoNode (name) typed false", " def numTypeParams is public = n", " method decType is override { typeType } // delayed, to avoid an initialization loop", " method attributeScope { typeScope }", "}", "", "method typeNode (name) {", " typeNode (name) params 0", "}", "", "once class typeType {", " // the pseudoNode for type type", " inherit typeNode \"type\" params 1", "", " method decType { self } // ties the recursive knot", "}", "", "sm.typeType := typeType // inject into scope module" ]; } function gracecode_constantScope() { importedModules["constantScope"] = this; const var_$module = this; this.definitionModule = "constantScope"; this.definitionLine = 1; setLineNumber(1); // compilenode dialect // Dialect "standard" const var_$dialect = do_import("standard", gracecode_standard); this.outer = var_$dialect; setLineNumber(3); // compilenode import // Import of "scope" as sm if (typeof gracecode_scope == "undefined") throw new GraceExceptionPacket(EnvironmentExceptionObject, new GraceString("could not find module scope")); var var_sm = do_import("scope", gracecode_scope); var func0 = function(argcv) { // accessor method sm, line 3 const numArgs = arguments.length - 1; if (numArgs > 0) raiseTypeArgError("sm", 0, numArgs - 0); return var_sm; }; // end of method sm this.methods["sm"] = func0; func0.methodName = "sm"; func0.paramCounts = [0]; func0.paramNames = []; func0.definitionLine = 3; func0.definitionModule = "constantScope"; func0.debug = "import"; func0.confidential = true; setLineNumber(4); // compilenode import // Import of "mirror" as mirror if (typeof gracecode_mirror == "undefined") throw new GraceExceptionPacket(EnvironmentExceptionObject, new GraceString("could not find module mirror")); var var_mirror = do_import("mirror", gracecode_mirror); var func1 = function(argcv) { // accessor method mirror, line 4 const numArgs = arguments.length - 1; if (numArgs > 0) raiseTypeArgError("mirror", 0, numArgs - 0); return var_mirror; }; // end of method mirror this.methods["mirror"] = func1; func1.methodName = "mirror"; func1.paramCounts = [0]; func1.paramNames = []; func1.definitionLine = 4; func1.definitionModule = "constantScope"; func1.debug = "import"; func1.confidential = true; setLineNumber(5); // compilenode import // Import of "basic" as basic if (typeof gracecode_basic == "undefined") throw new GraceExceptionPacket(EnvironmentExceptionObject, new GraceString("could not find module basic")); var var_basic = do_import("basic", gracecode_basic); var func2 = function(argcv) { // accessor method basic, line 5 const numArgs = arguments.length - 1; if (numArgs > 0) raiseTypeArgError("basic", 0, numArgs - 0); return var_basic; }; // end of method basic this.methods["basic"] = func2; func2.methodName = "basic"; func2.paramCounts = [0]; func2.paramNames = []; func2.definitionLine = 5; func2.definitionModule = "constantScope"; func2.debug = "import"; func2.confidential = true; this.closureKeys = this.closureKeys || []; this.closureKeys.push("outer_constantScope_1"); this.outer_constantScope_1 = var_$dialect; setLineNumber(7); // reuse call var initFun3 = request(var_basic, "open$build(3)", [null], this, [], []); // compileReuseCall var func4 = function(argcv, var_typePseudoNode) { // method scopeFor(_), line 171 var returnTarget = invocationCount; invocationCount++; const numArgs = arguments.length - 1; if ((numArgs > 1) && (numArgs !== 1)) { raiseTypeArgError("scopeFor(_)", 0, numArgs - 1); } setLineNumber(174); // compilenode block var block6 = new GraceBlock(this, 174, 0); block6.guard = jsTrue; block6.real = function block6() { var if7 = GraceDone; setLineNumber(175); // compilenode op if (var_un === undefined) raiseUninitializedVariable("un"); // call case 4: other requests var term8 = request(var_typePseudoNode, "==(1)", [1], var_un); if (Grace_isTrue(term8)) { if (var_universalScope === undefined) raiseUninitializedVariable("universalScope"); throw new ReturnException(var_universalScope, returnTarget); } setLineNumber(176); // compilenode string var string11 = new GraceString(" in the dictionary basicObjectAttributes"); // call case 4: other requests // call case 4: other requests var string13 = new GraceString("no entry for "); var concat12 = request(string13, "++(1)", [1], var_typePseudoNode); var concat10 = request(concat12, "++(1)", [1], string11); // call case 4: other requests var call14 = selfRequest(var_$dialect, "ProgrammingError", [0]); var call9 = request(call14, "raise(1)", [1], concat10); return call9; }; let applyMeth6 = function apply (argcv) { return this.real.apply(this.receiver); }; applyMeth6.methodName = "apply"; applyMeth6.paramCounts = [0]; applyMeth6.paramNames = []; applyMeth6.definitionLine = 174; applyMeth6.definitionModule = "constantScope"; block6.methods["apply"] = applyMeth6; // call case 4: other requests if (var_basicObjectAttributes === undefined) raiseUninitializedVariable("basicObjectAttributes"); var call5 = request(var_basicObjectAttributes, "at(1)ifAbsent(1)", [1, 1], var_typePseudoNode, block6); var var_attribDict = call5; setLineNumber(178); // compilenode string var string16 = new GraceString("def"); // call case 4: other requests if (var_attribDict === undefined) raiseUninitializedVariable("attribDict"); var call15 = request(var_attribDict, "at(1)", [1], string16); return call15; }; // end of method scopeFor(_) this.methods["scopeFor(1)"] = func4; func4.methodName = "scopeFor(1)"; func4.paramCounts = [1]; func4.paramNames = ["typePseudoNode"]; func4.definitionLine = 171; func4.definitionModule = "constantScope"; var func17 = function(argcv) { // method initializeConstantScopes, line 181 var returnTarget = invocationCount; invocationCount++; const numArgs = arguments.length - 1; if ((numArgs > 0) && (numArgs !== 0)) { raiseTypeArgError("initializeConstantScopes", 0, numArgs - 0); } setLineNumber(186); // compilenode block var block19 = new GraceBlock(this, 186, 1); block19.guard = jsTrue; block19.real = function block19(var_each) { setLineNumber(188); // compilenode call var call23 = selfRequest(var_$module, "numericName(1)", [1], var_each); setLineNumber(189); // compilenode block var block25 = new GraceBlock(this, 189, 0); block25.guard = jsTrue; block25.real = function block25() { setLineNumber(189); // compileBlock if (var_un === undefined) raiseUninitializedVariable("un"); return var_un; }; let applyMeth25 = function apply (argcv) { return this.real.apply(this.receiver); }; applyMeth25.methodName = "apply"; applyMeth25.paramCounts = [0]; applyMeth25.paramNames = []; applyMeth25.definitionLine = 189; applyMeth25.definitionModule = "constantScope"; block25.methods["apply"] = applyMeth25; // call case 4: other requests if (var_graceObjectAttributes === undefined) raiseUninitializedVariable("graceObjectAttributes"); var call24 = request(var_graceObjectAttributes, "at(1)ifAbsent(1)", [1, 1], var_each, block25); var call22 = selfRequest(var_$module, "pseudoNode(1)typed(1)", [1, 1], call23, call24); // call case 4: other requests var call21 = request(var_sm, "graceObjectMethodFrom(1)", [1], call22); // call case 4: other requests if (var_objectScope === undefined) raiseUninitializedVariable("objectScope"); var call20 = request(var_objectScope, "add(1)", [1], call21); return call20; }; let applyMeth19 = function apply_1 (argcv, ...args) { if (this.guard.apply(this.receiver, args)) return this.real.apply(this.receiver, args); badBlockArgs.apply(this, args); }; applyMeth19.methodName = "apply(1)"; applyMeth19.paramCounts = [1]; applyMeth19.paramNames = ["each"]; applyMeth19.definitionLine = 186; applyMeth19.definitionModule = "constantScope"; block19.methods["apply(1)"] = applyMeth19; let matchesMeth19 = function matches_1 (argcv, ...args) { return this.guard.apply(this.receiver, args) ? GraceTrue : GraceFalse; }; matchesMeth19.methodName = "matches(1)"; matchesMeth19.paramCounts = [1]; matchesMeth19.paramNames = ["each"]; matchesMeth19.definitionLine = 186; matchesMeth19.definitionModule = "constantScope"; block19.methods["matches(1)"] = matchesMeth19; // call case 4: other requests setLineNumber(186); // compilenode member // call case 4: other requests var obj28_build = function(ignore, outerObj, aliases, exclusions) { this.closureKeys = this.closureKeys || []; this.closureKeys.push("outer_constantScope_186"); this.outer_constantScope_186 = outerObj; const inheritedExclusions = { }; for (var eix = 0, eLen = exclusions.length; eix < eLen; eix ++) { const exMeth = exclusions[eix]; inheritedExclusions[exMeth] = this.methods[exMeth]; }; const overridenByAliases = { }; for (let aix = 0, aLen = aliases.length; aix < aLen; aix ++) { const a = aliases[aix]; const newNm = a.newName; const oldNm = a.oldName; overridenByAliases[newNm] = this.methods[newNm]; const m = confidentialVersion(overridenByAliases[oldNm] || this.methods[oldNm], newNm); m.definitionLine = 186; m.definitionModule = "constantScope"; this.methods[newNm] = m; } for (let exName in inheritedExclusions) { if (inheritedExclusions.hasOwnProperty(exName)) { if (inheritedExclusions[exName]) { this.methods[exName] = inheritedExclusions[exName]; } else { delete this.methods[exName]; } } } var obj28_init = function() { // init of object on line 186 }; return obj28_init; // from compileBuildAndInitFunctions(_)inMethod(_) }; var obj28 = emptyGraceObject("object", "constantScope", 186); var obj28_init = obj28_build.call(obj28, null, this, [], []); obj28_init.call(obj28); // end of compileobject // call case 4: other requests var call27 = request(var_mirror, "reflect(1)", [1], obj28); var call26 = request(call27, "allMethodNames", [0]); var call18 = request(call26, "do(1)", [1], block19); setLineNumber(191); // compilenode block var block30 = new GraceBlock(this, 191, 1); block30.guard = jsTrue; block30.real = function block30(var_each) { setLineNumber(193); // compilenode call var call34 = selfRequest(var_$module, "numericName(1)", [1], var_each); setLineNumber(194); // compilenode block var block36 = new GraceBlock(this, 194, 0); block36.guard = jsTrue; block36.real = function block36() { setLineNumber(194); // compileBlock if (var_un === undefined) raiseUninitializedVariable("un"); return var_un; }; let applyMeth36 = function apply (argcv) { return this.real.apply(this.receiver); }; applyMeth36.methodName = "apply"; applyMeth36.paramCounts = [0]; applyMeth36.paramNames = []; applyMeth36.definitionLine = 194; applyMeth36.definitionModule = "constantScope"; block36.methods["apply"] = applyMeth36; // call case 4: other requests if (var_booleanAttributes === undefined) raiseUninitializedVariable("booleanAttributes"); var call35 = request(var_booleanAttributes, "at(1)ifAbsent(1)", [1, 1], var_each, block36); var call33 = selfRequest(var_$module, "pseudoNode(1)typed(1)", [1, 1], call34, call35); // call case 4: other requests var call32 = request(var_sm, "methodVariableFrom(1)", [1], call33); // call case 4: other requests if (var_booleanScope === undefined) raiseUninitializedVariable("booleanScope"); var call31 = request(var_booleanScope, "add(1)", [1], call32); return call31; }; let applyMeth30 = function apply_1 (argcv, ...args) { if (this.guard.apply(this.receiver, args)) return this.real.apply(this.receiver, args); badBlockArgs.apply(this, args); }; applyMeth30.methodName = "apply(1)"; applyMeth30.paramCounts = [1]; applyMeth30.paramNames = ["each"]; applyMeth30.definitionLine = 191; applyMeth30.definitionModule = "constantScope"; block30.methods["apply(1)"] = applyMeth30; let matchesMeth30 = function matches_1 (argcv, ...args) { return this.guard.apply(this.receiver, args) ? GraceTrue : GraceFalse; }; matchesMeth30.methodName = "matches(1)"; matchesMeth30.paramCounts = [1]; matchesMeth30.paramNames = ["each"]; matchesMeth30.definitionLine = 191; matchesMeth30.definitionModule = "constantScope"; block30.methods["matches(1)"] = matchesMeth30; // call case 4: other requests setLineNumber(191); // compilenode member // call case 4: other requests // call case 4: other requests var call38 = request(var_mirror, "reflect(1)", [1], GraceTrue); var call37 = request(call38, "allMethodNames", [0]); var call29 = request(call37, "do(1)", [1], block30); setLineNumber(196); // compilenode block var block41 = new GraceBlock(this, 196, 1); block41.guard = jsTrue; block41.real = function block41(var_each) { setLineNumber(198); // compilenode call var call45 = selfRequest(var_$module, "numericName(1)", [1], var_each); setLineNumber(199); // compilenode block var block47 = new GraceBlock(this, 199, 0); block47.guard = jsTrue; block47.real = function block47() { setLineNumber(199); // compileBlock if (var_un === undefined) raiseUninitializedVariable("un"); return var_un; }; let applyMeth47 = function apply (argcv) { return this.real.apply(this.receiver); }; applyMeth47.methodName = "apply"; applyMeth47.paramCounts = [0]; applyMeth47.paramNames = []; applyMeth47.definitionLine = 199; applyMeth47.definitionModule = "constantScope"; block47.methods["apply"] = applyMeth47; // call case 4: other requests if (var_numberAttributes === undefined) raiseUninitializedVariable("numberAttributes"); var call46 = request(var_numberAttributes, "at(1)ifAbsent(1)", [1, 1], var_each, block47); var call44 = selfRequest(var_$module, "pseudoNode(1)typed(1)", [1, 1], call45, call46); // call case 4: other requests var call43 = request(var_sm, "methodVariableFrom(1)", [1], call44); // call case 4: other requests if (var_numberScope === undefined) raiseUninitializedVariable("numberScope"); var call42 = request(var_numberScope, "add(1)", [1], call43); return call42; }; let applyMeth41 = function apply_1 (argcv, ...args) { if (this.guard.apply(this.receiver, args)) return this.real.apply(this.receiver, args); badBlockArgs.apply(this, args); }; applyMeth41.methodName = "apply(1)"; applyMeth41.paramCounts = [1]; applyMeth41.paramNames = ["each"]; applyMeth41.definitionLine = 196; applyMeth41.definitionModule = "constantScope"; block41.methods["apply(1)"] = applyMeth41; let matchesMeth41 = function matches_1 (argcv, ...args) { return this.guard.apply(this.receiver, args) ? GraceTrue : GraceFalse; }; matchesMeth41.methodName = "matches(1)"; matchesMeth41.paramCounts = [1]; matchesMeth41.paramNames = ["each"]; matchesMeth41.definitionLine = 196; matchesMeth41.definitionModule = "constantScope"; block41.methods["matches(1)"] = matchesMeth41; // call case 4: other requests setLineNumber(196); // compilenode member // call case 4: other requests // call case 4: other requests var call49 = request(var_mirror, "reflect(1)", [1], new GraceNum(1)); var call48 = request(call49, "allMethodNames", [0]); var call40 = request(call48, "do(1)", [1], blo