Click or drag to resize

NamespaceResolver Class

Implements logic of collecting information about aliases and namespaces.
Inheritance Hierarchy
SystemObject
  Syntactik.Compiler.StepsNamespaceResolver

Namespace:  Syntactik.Compiler.Steps
Assembly:  Syntactik (in Syntactik.dll) Version: 0.3.0-beta1
Syntax
C#
public class NamespaceResolver

The NamespaceResolver type exposes the following members.

Constructors
  NameDescription
Public methodNamespaceResolver
Creates an instance of NamespaceResolver.
Top
Properties
  NameDescription
Public propertyModuleMembersNsInfo
NsInfo for all processed module members (Documents and AliasDef).
Top
Methods
  NameDescription
Public methodEnterAliasDef
Sets current ModuleMember. Method should be called from the visitor.
Public methodEnterDocument
Sets current ModuleMember. Method should be called from the visitor.
Public methodEnterModule
Sets current Module. Method should be called from the visitor.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAliasDefinition
Gets AliasDefinition by name.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNsInfo
Finds NsInfo related to the ModuleMember.
Public methodGetPrefixAndNs(String, INsNode, Document, String, String)
Resolves namespace and prefix for INsNode.
Public methodGetPrefixAndNs(INsNode, Document, Scope, String, String)
Resolves namespace and prefix for INsNode.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodProcessAlias
Tells NamespaceResolver to check validity of Alias and add it to the list of aliases of the current ModuleMember. Method should be called from the visitor.
Public methodResolveAliasesAndDoChecks
Resolves aliases, namespaces and do checks after the all nodes are visited.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also