Class ParsingScopes
This class implements a stack on which instances of ParsingScope are put. Each ParsingScope represents the parsing of an address in the workbook.
Inheritance
System.Object
ParsingScopes
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
Assembly: EPPlus.dll
Syntax
public class ParsingScopes
Constructors
ParsingScopes(IParsingLifetimeEventHandler)
Constructor
Declaration
public ParsingScopes(IParsingLifetimeEventHandler lifetimeEventHandler)
Parameters
Type | Name | Description |
---|---|---|
IParsingLifetimeEventHandler | lifetimeEventHandler | An instance of a IParsingLifetimeEventHandler |
Properties
Current
The current parsing scope.
Declaration
public virtual ParsingScope Current { get; }
Property Value
Type | Description |
---|---|
ParsingScope |
Methods
KillScope(ParsingScope)
Removes the current scope, setting the calling scope to current.
Declaration
public virtual void KillScope(ParsingScope parsingScope)
Parameters
Type | Name | Description |
---|---|---|
ParsingScope | parsingScope |
NewScope(RangeAddress)
Creates a new ParsingScope and puts it on top of the stack.
Declaration
public virtual ParsingScope NewScope(RangeAddress address)
Parameters
Type | Name | Description |
---|---|---|
RangeAddress | address |
Returns
Type | Description |
---|---|
ParsingScope |