AuthoringSink Members

Include Protected Members
Include Inherited Members

This class is used by the parser to gather information about the source being parsed.

The AuthoringSink type exposes the following members.

Constructors

  Name Description
Public method AuthoringSink Initializes the AuthoringSink class.

Top

Methods

  Name Description
Public method AddError Adds an error in parsing message for later reporting.
Public method AddHiddenRegion(NewHiddenRegion) Adds the specified NewHiddenRegion object to the internal hidden regions list.
Public method AddHiddenRegion(TextSpan) Adds a new hidden region to the internal list based on the given TextSpan object.
Public method AddHiddenRegion(TextSpan, String)
Public method AutoExpression Adds the span of an expression to an internal list.
Public method CodeSpan This adds a span of executable code to an internal list.
Public method EndParameters Called to indicate the end of a method's parameter list.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method MatchMultiple
Public method MatchPair Called to add the spans of the two paired elements in an internal list.
Public method MatchTriple Called to add a matching set of three elements to an internal list.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method NextParameter Called when parsing a method parameter list and the parameter separator character has just been parsed.
Public method QualifyName Called to note the location of a member reference.
Public method StartName Called when an identifier is parsed.
Public method StartParameters Called at the start of a method's parameter list.
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Public property BraceMatching Indicates if brace matching should be done for a parse operation.
Public property Column Gets the column the parsing started on.
Public property FindNames Indicates whether identifiers are to be looked for.
Public property FoundMatchingBrace Tracks if a matching pair of braces was added to the internal list.
Public property HiddenRegions Indicates whether hidden regions should be processed during the parse operation.
Public property Line Returns the line the parsing operation started on.
Public property MethodParameters Indicates whether to process method parameters during the parse operation.
Public property ProcessHiddenRegions Indicates whether to update hidden regions.
Public property Reason Returns the reason the parse operation was started.

Top

See Also

Reference

AuthoringSink Class

Microsoft.VisualStudio.Package Namespace