Class JSONToken
Represents a token of JSON language
Inheritance
System.Object
JSONToken
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)
Assembly: Azos.dll
Syntax
public class JSONToken : Token
Constructors
JSONToken(JSONLexer, JSONTokenType, SourcePosition, SourcePosition, String, Object)
Declaration
public JSONToken(JSONLexer lexer, JSONTokenType type, SourcePosition startPos, SourcePosition endPos, string text, object value = null)
Parameters
Fields
Type
Declaration
public readonly JSONTokenType Type
Field Value
Properties
IsNonLanguage
Declaration
public override bool IsNonLanguage { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
IsNumericLiteral
Declaration
public override bool IsNumericLiteral { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
IsPrimary
Declaration
public override bool IsPrimary { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
IsTextualLiteral
Declaration
public override bool IsTextualLiteral { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Kind
Declaration
public override TokenKind Kind { get; }
Property Value
Overrides
Language
Declaration
public override Language Language { get; }
Property Value
Overrides
OrdinalType
Declaration
public override int OrdinalType { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
Methods
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
Extension Methods