Skip to content

Class ParsingScopes

Namespace: OfficeOpenXml.FormulaParsing
Assembly: EPPlus.dll

This class implements a stack on which instances of ParsingScope are put. Each ParsingScope represents the parsing of an address in the workbook.

public class ParsingScopes

Inheritance

object ← ParsingScopes

Inherited Members

object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()

Constructors

ParsingScopes(IParsingLifetimeEventHandler)

Constructor

public ParsingScopes(IParsingLifetimeEventHandler lifetimeEventHandler)

Parameters

lifetimeEventHandler IParsingLifetimeEventHandler

An instance of a IParsingLifetimeEventHandler

Properties

Current

The current parsing scope.

public virtual ParsingScope Current { get; }

Property Value

ParsingScope

Methods

KillScope(ParsingScope)

Removes the current scope, setting the calling scope to current.

public virtual void KillScope(ParsingScope parsingScope)

Parameters

parsingScope ParsingScope

NewScope(FormulaRangeAddress)

Creates a new ParsingScope and puts it on top of the stack.

public virtual ParsingScope NewScope(FormulaRangeAddress address)

Parameters

address FormulaRangeAddress

Returns

ParsingScope