SymbolResult Class

Definition

A result produced during parsing for a specific symbol.

public ref class SymbolResult abstract
public abstract class SymbolResult
type SymbolResult = class
Public MustInherit Class SymbolResult
Inheritance
SymbolResult
Derived

Properties

Children

Child symbol results in the parse tree.

ErrorMessage

An error message for this symbol result.

Errors

The parse errors associated with this symbol result.

LocalizationResources

Localization resources used to produce messages for this symbol result.

Parent

The parent symbol result in the parse tree.

Symbol

The symbol to which the result applies.

Tokens

The list of tokens associated with this symbol result during parsing.

Methods

AddError(String)

Adds an error message for this symbol result to it's parse tree.

FindResultFor(Argument)

Finds a result for the specific argument anywhere in the parse tree, including parent and child symbol results.

FindResultFor(Command)

Finds a result for the specific command anywhere in the parse tree, including parent and child symbol results.

FindResultFor(Option)

Finds a result for the specific option anywhere in the parse tree, including parent and child symbol results.

GetRequiredValue<T>(Argument<T>)

Gets the parsed or default value for the specified required argument or throws.

GetRequiredValue<T>(Option<T>)

Gets the parsed or default value for the specified required option or throws.

GetRequiredValue<T>(String)

Gets the value for a symbol having the specified name anywhere in the parse tree.

GetResult(Argument)

Finds a result for the specific argument anywhere in the parse tree, including parent and child symbol results.

GetResult(Command)

Finds a result for the specific command anywhere in the parse tree, including parent and child symbol results.

GetResult(Directive)

Finds a result for the specific directive anywhere in the parse tree.

GetResult(Option)

Finds a result for the specific option anywhere in the parse tree, including parent and child symbol results.

GetResult(String)

Finds a result for a symbol having the specified name anywhere in the parse tree.

GetValue<T>(Argument<T>)

Gets the parsed or default value for the specified argument.

GetValue<T>(Option<T>)

Gets the parsed or default value for the specified option.

GetValue<T>(String)

Gets the value for a symbol having the specified name anywhere in the parse tree.

GetValueForArgument(Argument)

Gets the parsed or default value for the specified argument.

GetValueForArgument<T>(Argument<T>)

Gets the parsed or default value for the specified argument.

GetValueForOption(Option)

Gets the parsed or default value for the specified option.

GetValueForOption<T>(Option<T>)

Gets the parsed or default value for the specified option.

ToString()

Returns a string that represents the current object.

Applies to