Class TokenSeparatorProvider
Inheritance
System.Object
    TokenSeparatorProvider
  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 TokenSeparatorProvider : ITokenSeparatorProviderProperties
Instance
Instance of the ITokenSeparatorProvider
Declaration
public static ITokenSeparatorProvider Instance { get; }Property Value
| Type | Description | 
|---|---|
| ITokenSeparatorProvider | 
Methods
GetToken(String)
Returns a separator Token by its string representation.
Declaration
public Token? GetToken(string candidate)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | candidate | The separator candidate | 
Returns
| Type | Description | 
|---|---|
| System.Nullable<Token> | A Token instance or null/default(Token?) | 
IsOperator(String)
Returns true if the item is an operator, otherwise false.
Declaration
public bool IsOperator(string item)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | item | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
IsPossibleLastPartOfMultipleCharOperator(String)
Returns true if the part could be part of a multichar operator, such as != or <>
Declaration
public bool IsPossibleLastPartOfMultipleCharOperator(string part)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | part | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
Explicit Interface Implementations
ITokenSeparatorProvider.Tokens
Declaration
IDictionary<string, Token> ITokenSeparatorProvider.Tokens { get; }Returns
| Type | Description | 
|---|---|
| System.Collections.Generic.IDictionary<System.String, Token> |