Class LexerInternalRule
Internal rule of lexer. It is use for creating common regular expression to use with LexerTokeRules.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SpiceSharpParser.Lexers
Assembly: SpiceSharpParser.dll
Syntax
public class LexerInternalRule : LexerRegexRule
Constructors
| Improve this Doc View SourceLexerInternalRule(String, String)
Initializes a new instance of the LexerInternalRule class.
Declaration
public LexerInternalRule(string ruleName, string regularExpression)
Parameters
Type | Name | Description |
---|---|---|
System.String | ruleName | Name of the rule. |
System.String | regularExpression | Regular expression. |
Methods
| Improve this Doc View SourceClone()
Clones the current instance.
Declaration
public override LexerRegexRule Clone()
Returns
Type | Description |
---|---|
LexerRegexRule | A new instance of LexerInternalRule. |