Show / Hide Table of Contents

Class Parser

A parser for hierarchic objects encoded as strings.

Inheritance
object
Parser
Implements
IDisposable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.XboxStudios.GameStateTracker.TreeObject
Assembly: GameStateTracker.TreeObject.dll
Syntax
public sealed class Parser : IDisposable

Methods

View Source

Dispose()

Disposes the iterator.

Declaration
public void Dispose()
View Source

Parse(out INode)

Parses a node from the iterator.

Declaration
public bool Parse(out INode result)
Parameters
Type Name Description
INode result

The output node.

Returns
Type Description
bool

True if a node was parsed.

View Source

TryParse(string)

Tries to parse the input string as a hierarchical object.

Declaration
public static INode? TryParse(string input)
Parameters
Type Name Description
string input

The string to parse.

Returns
Type Description
INode

A tree object.

Implements

IDisposable
  • View Source
In this article
Back to top Generated by DocFX