GroupLab Widget Tap Library

Path.Grammar Members

Path.Grammar overview

Public Static Properties

DefaultGrammar Gets the default grammar for paths.

Protected Static Methods

EscapeComponent Escapes all special characters in a string.
ExtractComponent Returns a copy of a substring of a path containing just one path component.
GetStartOfNextDelimitedComponent Scans a string to find the start of the next path part.

Public Instance Constructors

Path.Grammar Constructor Initialises the current grammar with default settings.

Public Instance Properties

TextRegexes Gets the text regular expressions associated with the current grammar. The regular expressions are used to derrive the unique or interesting parts of a heavyweight widget's text name.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
EscapePiece Escapes the special characters in a piece, using the current grammar's escaping character and array of escapable characters.
FormatHierarchyFromParts Concatenates path parts into a hierarchy, interleaving them with the current grammar's part delimiter character.
FormatPartFromPieces Concatenates path pieces into a path part, interleaving them with the current grammar's piece delimiter character.
FormatPathFromHierarchies Concatenates two or three hierarchies into a path, interleaving them with the current grammar's hierarchy delimiter character.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
SplitHierarchyIntoParts Splits a hierarchy into a collection of parts using the current grammar's part delimiter character.
SplitPartIntoPieces Splits a path part into a collection of pieces using the current grammar's piece delimiter character.
SplitPathIntoHierarchies Separates a path into its two or three hierarchies using the current grammar's hierarchy delimiter character.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Fields

escapableChars The set of characters which must be escaped.
escapingChar The escaping character of the grammar.
hierarchyDelimiterChar The character which separates the process identifier from the widget path.
partDelimiterChar The character which separates concecutive path parts.
pieceDelimiterChar The character which separates consecutive pieces in a single part.
textRegexes A list of regular expresions.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

Path.Grammar Class | GroupLab.WidgetTap Namespace