Class TokenPatterns.Pattern
Describe a single pattern with its list of tokens that might include pattern
reserved syntax token and a transformation function. For ease of search and performance
an hashcode value is computed on the tokens list content and later used for searching
a pattern matching an actual line of X# code source.
Inheritance
System.Object
TokenPatterns.Pattern
Assembly: XSharp.dll
Syntax
protected class Pattern : object
Constructors
|
Improve this Doc
View Source
Pattern(TokenList, TokenPatterns.CodeFunc, String)
Declaration
public Pattern(TokenList aTokens, TokenPatterns.CodeFunc aCode, string patternString)
Parameters
Fields
|
Improve this Doc
View Source
Code
Declaration
public readonly TokenPatterns.CodeFunc Code
Field Value
|
Improve this Doc
View Source
Hash
Declaration
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
PatternString
Declaration
public readonly string PatternString
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Tokens
Declaration
public readonly TokenList Tokens
Field Value