TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>.Optional TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>.Optional TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>.Optional Method

Definition

Overloads

Optional(KnownSymbolType) Optional(KnownSymbolType) Optional(KnownSymbolType)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether parsing a token with the given type is optional.

Optional(TSymbolType) Optional(TSymbolType) Optional(TSymbolType)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether parsing a token with the given type is optional.

Optional(KnownSymbolType) Optional(KnownSymbolType) Optional(KnownSymbolType)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether parsing a token with the given type is optional.

protected internal bool Optional (System.Web.Razor.Tokenizer.Symbols.KnownSymbolType type);
member this.Optional : System.Web.Razor.Tokenizer.Symbols.KnownSymbolType -> bool
Protected Friend Function Optional (type As KnownSymbolType) As Boolean
Parameters
type
KnownSymbolType KnownSymbolType KnownSymbolType

The type of the token.

Returns

true if parsing a token with the given type is optional; otherwise, false.

Optional(TSymbolType) Optional(TSymbolType) Optional(TSymbolType)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether parsing a token with the given type is optional.

protected internal bool Optional (TSymbolType type);
member this.Optional : 'SymbolType -> bool
Protected Friend Function Optional (type As TSymbolType) As Boolean
Parameters
type

The type of the token.

Returns

true if parsing a token with the given type is optional; otherwise, false.

Applies to