Class TokenFactory
Inheritance
System.Object
TokenFactory
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 TokenFactory : ITokenFactory
Constructors
TokenFactory(IFunctionNameProvider, INameValueProvider, Boolean)
Declaration
public TokenFactory(IFunctionNameProvider functionRepository, INameValueProvider nameValueProvider, bool r1c1 = false)
Parameters
Type | Name | Description |
---|---|---|
IFunctionNameProvider | functionRepository | |
INameValueProvider | nameValueProvider | |
System.Boolean | r1c1 |
TokenFactory(ITokenSeparatorProvider, INameValueProvider, IFunctionNameProvider, Boolean)
Declaration
public TokenFactory(ITokenSeparatorProvider tokenSeparatorProvider, INameValueProvider nameValueProvider, IFunctionNameProvider functionNameProvider, bool r1c1)
Parameters
Type | Name | Description |
---|---|---|
ITokenSeparatorProvider | tokenSeparatorProvider | |
INameValueProvider | nameValueProvider | |
IFunctionNameProvider | functionNameProvider | |
System.Boolean | r1c1 |
Methods
Create(IEnumerable<Token>, String)
Declaration
public Token Create(IEnumerable<Token> tokens, string token)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Token> | tokens | |
System.String | token |
Returns
Type | Description |
---|---|
Token |
Create(IEnumerable<Token>, String, String)
Declaration
public Token Create(IEnumerable<Token> tokens, string token, string worksheet)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Token> | tokens | |
System.String | token | |
System.String | worksheet |
Returns
Type | Description |
---|---|
Token |
Create(String, TokenType)
Declaration
public Token Create(string token, TokenType explicitTokenType)
Parameters
Type | Name | Description |
---|---|---|
System.String | token | |
TokenType | explicitTokenType |
Returns
Type | Description |
---|---|
Token |