C# Class ExcelFormulaParser.Engine.LexicalAnalysis.SourceCodeTokenizer

Inheritance: ISourceCodeTokenizer
ファイルを表示 Open project: swmal/ExcelFormulaParser Class Usage Examples

Public Methods

Method Description
SourceCodeTokenizer ( FunctionRepository functionRepository, NameValueProvider nameValueProvider ) : System
SourceCodeTokenizer ( ITokenFactory tokenFactory, ITokenSeparatorProvider tokenProvider ) : System
Tokenize ( string input ) : IEnumerable

Private Methods

Method Description
CharIsTokenSeparator ( char c, Token &token ) : bool
CreateToken ( TokenizerContext context ) : Token
IsPartOfMultipleCharSeparator ( TokenizerContext context, char c ) : bool
TokenIsNegator ( TokenizerContext context ) : bool

Method Details

SourceCodeTokenizer() public method

public SourceCodeTokenizer ( FunctionRepository functionRepository, NameValueProvider nameValueProvider ) : System
functionRepository ExcelFormulaParser.Engine.Excel.Functions.FunctionRepository
nameValueProvider NameValueProvider
return System

SourceCodeTokenizer() public method

public SourceCodeTokenizer ( ITokenFactory tokenFactory, ITokenSeparatorProvider tokenProvider ) : System
tokenFactory ITokenFactory
tokenProvider ITokenSeparatorProvider
return System

Tokenize() public method

public Tokenize ( string input ) : IEnumerable
input string
return IEnumerable