Enum TokenType

Enumerates the types of tokens that can be classified by the tokenizer.

Namespace: Mediachase.Commerce.Marketing.Validators.Providers.DomParser
Assembly: Mediachase.Commerce.Marketing.Validators.dll
Version: 10.8.0
Syntax
public enum TokenType

Fields

Name Description
CloseBracket

Close bracket

CloseParens

Close parenthesis

Comma

A comma

Dot

A dot (".").

Identifier

An identifier can be either a class or property name. The tokenizer does not have enough information to make that distinction.

NotAToken

This is reserved for the NullToken.

OpenBracket

Open bracket

OpenParens

Open parenthesis

Operator

An operator like + or *.

Primitive

A primitive like a quoted string, boolean value, or number.

Quote

Double quote token, only used internally by tokenizer.

Extension Methods