Class Lexer
Inheritance
System.Object
Lexer
Implements
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: OfficeOpenXml.FormulaParsing.LexicalAnalysis
Assembly: EPPlus.dll
Syntax
public class Lexer : ILexer
Constructors
Lexer(FunctionRepository, INameValueProvider)
Declaration
public Lexer(FunctionRepository functionRepository, INameValueProvider nameValueProvider)
Parameters
Type | Name | Description |
---|---|---|
FunctionRepository | functionRepository | |
INameValueProvider | nameValueProvider |
Lexer(ISourceCodeTokenizer, ISyntacticAnalyzer)
Declaration
public Lexer(ISourceCodeTokenizer tokenizer, ISyntacticAnalyzer analyzer)
Parameters
Type | Name | Description |
---|---|---|
ISourceCodeTokenizer | tokenizer | |
ISyntacticAnalyzer | analyzer |
Methods
Tokenize(String)
Declaration
public IEnumerable<Token> Tokenize(string input)
Parameters
Type | Name | Description |
---|---|---|
System.String | input |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Token> |
Tokenize(String, String)
Declaration
public IEnumerable<Token> Tokenize(string input, string worksheet)
Parameters
Type | Name | Description |
---|---|---|
System.String | input | |
System.String | worksheet |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Token> |