Agda.Syntax.Scope.Base

# Scope representation

data Scope

data NameSpaceId

type ScopeNameSpaces

localNameSpace

nameSpaceAccess

scopeNameSpace

updateScopeNameSpaces

updateScopeNameSpacesM

data ScopeInfo

type LocalVars

data LocalVar

shadowLocal

notShadowedLocal

notShadowedLocals

updateScopeLocals

setScopeLocals

mapScopeInfo

# Name spaces

data NameSpace

type ThingsInScope a

type NamesInScope

type ModulesInScope

type InScopeSet

data InScopeTag a

class InScope a

inNameSpace

# Decorated names

data KindOfName

allKindsOfNames

data WhyInScope

data AbstractName

data AbstractModule

lensAnameName

lensAmodName

# Operations on name and module maps.

mergeNames

# Operations on name spaces

emptyNameSpace

mapNameSpace

zipNameSpace

mapNameSpaceM

# General operations on scopes

emptyScope

emptyScopeInfo

mapScope

mapScope_

mapScope'

mapScopeM

mapScopeM_

zipScope

zipScope_

recomputeInScopeSets

filterScope

allNamesInScope

allNamesInScope'

exportedNamesInScope

namesInScope

allThingsInScope

thingsInScope

mergeScope

mergeScopes

# Specific operations on scopes

setScopeAccess

setNameSpace

modifyNameSpace

addNamesToScope

addNameToScope

removeNameFromScope

addModuleToScope

type UsingOrHiding

usingOrHiding

applyImportDirective

renameCanonicalNames

restrictPrivate

restrictLocalPrivate

removeOnlyQualified

inScopeBecause

publicModules

publicNames

everythingInScope

flattenScope

concreteNamesInScope

scopeLookup

scopeLookup'

# Inverse look-up

data AllowAmbiguousNames

isNameInScope

inverseScopeLookup

inverseScopeLookup'

recomputeInverseScopeMaps

inverseScopeLookupName

inverseScopeLookupName'

inverseScopeLookupModule

# (Debug) printing

blockOfLines

# Boring instances