BalticAmadeus.FluentMdx.Lexer.Lexer.TokenDefinition.TokenDefinition C# (CSharp) Method

TokenDefinition() public method

public TokenDefinition ( TokenType type, string pattern, bool isIgnored = false ) : System
type TokenType
pattern string
isIgnored bool
return System
            public TokenDefinition(TokenType type, string pattern, bool isIgnored = false)
            {
                Type = type;
                Pattern = new Regex(pattern, RegexOptions.IgnoreCase);
                IsIgnored = isIgnored;
            }
Lexer.TokenDefinition