Click or drag to resize

AliasResolvingVisitor Class

AliasResolvingVisitor resolves and visits nodes defined in aliases. Attributes are resolved prior to elements.
Inheritance Hierarchy

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

The AliasResolvingVisitor type exposes the following members.

Constructors
  NameDescription
Protected methodAliasResolvingVisitor
Creates instances of AliasResolvingVisitor.
Top
Properties
  NameDescription
Protected propertyAliasContext
Keeps track of nested aliases.
Protected propertyContext
Provides access to CompilerContext.
Protected propertyCurrentDocument
Property is used to keep track of current visiting Document.
Protected propertyScopeContext
Keeps track of nested namespace scopes.
Top
Methods
  NameDescription
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
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.)
Protected methodOnPair
Method is wrapping call to Accept method of every node.
(Inherited from SyntactikDepthFirstVisitor.)
Public methodOnValue
Method called when the value of the current pair is resolved.
Protected methodResolveAttributes
Go through all entities and resolve attributes for the current node.
Protected methodResolveAttributesInAlias
Resolves attributes in Alias. Elements are ignored.
Protected methodResolveAttributesInParameter
Resolves attributes in Parameter. Elements are ignored.
Protected methodResolveChoiceValue
Method is called for pair with literal choice assignment =::.
Protected methodResolveDqsEscape
Resolves escape sequence
Protected methodResolveDqsEscapeChar
Converts EscapeMatch to Char.
Protected methodResolvePairValue
Resolves literal value of the pair.
Protected methodResolveValue
Resolves literal value of the Pair.
Protected methodResolveValueAlias
Resolves literal value of Alias.
Protected methodResolveValueParameter
Resolves value of the value parameter.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodVisit(Alias)
Visit method for Alias.
(Overrides SyntactikDepthFirstVisitorVisit(Alias).)
Public methodVisit(AliasDefinition)
Visit method for AliasDefinition.
(Overrides SyntactikDepthFirstVisitorVisit(AliasDefinition).)
Public methodVisit(Argument)
Visit method for Argument.
(Inherited from SyntactikDepthFirstVisitor.)
Public methodVisit(Attribute)
Visit method for Attribute.
(Inherited from SyntactikDepthFirstVisitor.)
Public methodVisit(Comment)
Visit method for Comment.
(Inherited from SyntactikDepthFirstVisitor.)
Public methodVisit(CompileUnit)
Visit method for CompileUnit.
(Inherited from SyntactikDepthFirstVisitor.)
Public methodVisit(Document)
Visit method for Document.
(Inherited from SyntactikDepthFirstVisitor.)
Public methodVisit(Element)
Visit method for Element.
(Overrides SyntactikDepthFirstVisitorVisit(Element).)
Public methodVisit(Module)
Visit method for Module.
(Inherited from SyntactikDepthFirstVisitor.)
Public methodVisit(NamespaceDefinition)
Visit method for NamespaceDefinition.
(Inherited from SyntactikDepthFirstVisitor.)
Public methodVisit(Pair)
Asks visitor to visit a pair.
(Inherited from SyntactikDepthFirstVisitor.)
Public methodVisit(Parameter)
Visit method for Parameter.
(Overrides SyntactikDepthFirstVisitorVisit(Parameter).)
Public methodVisit(Scope)
Visit method for Scope.
(Overrides SyntactikDepthFirstVisitorVisit(Scope).)
Public methodVisitT(IEnumerableT)
Asks visitor to visit each pair in collection.
(Inherited from SyntactikDepthFirstVisitor.)
Top
Fields
  NameDescription
Protected fieldNamespaceResolver
Provides access to services of NamespaceResolver.
Top
See Also