Table of Contents

Class TokenizerContext

Namespace
OfficeOpenXml.FormulaParsing.LexicalAnalysis
Assembly
Magicodes.EPPlus.dll
public class TokenizerContext
Inheritance
TokenizerContext
Inherited Members
Extension Methods

Constructors

TokenizerContext(string)

public TokenizerContext(string formula)

Parameters

formula string

Properties

CurrentToken

public string CurrentToken { get; }

Property Value

string

CurrentTokenHasValue

public bool CurrentTokenHasValue { get; }

Property Value

bool

FormulaChars

public char[] FormulaChars { get; }

Property Value

char[]

IsInSheetName

public bool IsInSheetName { get; }

Property Value

bool

IsInString

public bool IsInString { get; }

Property Value

bool

LastToken

public Token LastToken { get; }

Property Value

Token

Result

public IList<Token> Result { get; }

Property Value

IList<Token>

Methods

AddToken(Token)

public void AddToken(Token token)

Parameters

token Token

AppendToCurrentToken(char)

public void AppendToCurrentToken(char c)

Parameters

c char

AppendToLastToken(string)

public void AppendToLastToken(string stringToAppend)

Parameters

stringToAppend string

NewToken()

public void NewToken()

ReplaceLastToken(Token)

public void ReplaceLastToken(Token newToken)

Parameters

newToken Token

SetLastTokenType(TokenType)

public void SetLastTokenType(TokenType type)

Parameters

type TokenType

ToggleIsInSheetName()

public void ToggleIsInSheetName()

ToggleIsInString()

public void ToggleIsInString()