Class TokenSeparatorHandler
This class provides access to SeparatorHandlers - classes that exposes functionatlity needed when parsing strings to tokens.
Inheritance
System.Object
TokenSeparatorHandler
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.TokenSeparatorHandlers
Assembly: EPPlus.dll
Syntax
public class TokenSeparatorHandler
Constructors
TokenSeparatorHandler(ITokenSeparatorProvider)
Declaration
public TokenSeparatorHandler(ITokenSeparatorProvider tokenSeparatorProvider)
Parameters
Type | Name | Description |
---|---|---|
ITokenSeparatorProvider | tokenSeparatorProvider |
TokenSeparatorHandler(SeparatorHandler[])
Declaration
public TokenSeparatorHandler(params SeparatorHandler[] handlers)
Parameters
Type | Name | Description |
---|---|---|
SeparatorHandler[] | handlers |
Methods
Handle(Char, Token, TokenizerContext, ITokenIndexProvider)
Handles a tokenseparator.
Declaration
public bool Handle(char c, Token tokenSeparator, TokenizerContext context, ITokenIndexProvider tokenIndexProvider)
Parameters
Type | Name | Description |
---|---|---|
System.Char | c | |
Token | tokenSeparator | |
TokenizerContext | context | |
ITokenIndexProvider | tokenIndexProvider |
Returns
Type | Description |
---|---|
System.Boolean | Returns true if the tokenseparator was handled. |