Show / Hide Table of Contents

Class LexerInternalRule

Internal rule of lexer. It is use for creating common regular expression to use with LexerTokeRules.

Inheritance
System.Object
LexerRegexRule
LexerInternalRule
Inherited Members
LexerRegexRule.IgnoreCase
LexerRegexRule.Name
LexerRegexRule.RegularExpressionPattern
LexerRegexRule.RegularExpression
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 Source

LexerInternalRule(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 Source

Clone()

Clones the current instance.

Declaration
public override LexerRegexRule Clone()
Returns
Type Description
LexerRegexRule

A new instance of LexerInternalRule.

Overrides
LexerRegexRule.Clone()
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX