Class SourceCodeTokenizer
Inheritance
System.Object
SourceCodeTokenizer
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 SourceCodeTokenizer : ISourceCodeTokenizer
Constructors
SourceCodeTokenizer(IFunctionNameProvider, INameValueProvider, Boolean)
Declaration
public SourceCodeTokenizer(IFunctionNameProvider functionRepository, INameValueProvider nameValueProvider, bool r1c1 = false)
Parameters
Type | Name | Description |
---|---|---|
IFunctionNameProvider | functionRepository | |
INameValueProvider | nameValueProvider | |
System.Boolean | r1c1 |
SourceCodeTokenizer(ITokenFactory)
Declaration
public SourceCodeTokenizer(ITokenFactory tokenFactory)
Parameters
Type | Name | Description |
---|---|---|
ITokenFactory | tokenFactory |
Properties
Default
Declaration
public static ISourceCodeTokenizer Default { get; }
Property Value
Type | Description |
---|---|
ISourceCodeTokenizer |
R1C1
Declaration
public static ISourceCodeTokenizer R1C1 { get; }
Property Value
Type | Description |
---|---|
ISourceCodeTokenizer |
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> |