CxLiteralSimple

Description

sealed class Tinman.Core.Cx.Expressions.CxLiteralSimple

Derived from

CxLiteral abstract

A simple literal that is represented by a single keyword:

base
false
null
this
true

Public / Constants

Base


[ShutdownSurvive]
public static readonly attribute Base → (CxLiteralSimple)

The simple literal base (base member access).

False


[ShutdownSurvive]
public static readonly attribute False → (CxLiteralSimple)

The simple literal false (Boolean value).

Null


[ShutdownSurvive]
public static readonly attribute Null → (CxLiteralSimple)

The simple literal null (null reference).

This


[ShutdownSurvive]
public static readonly attribute This → (CxLiteralSimple)

The simple literal base (instance member access).

True


[ShutdownSurvive]
public static readonly attribute True → (CxLiteralSimple)

The simple literal true (Boolean value).

Public / Constructors

ForKeyword


public static method ForKeyword → (1)

keyword in : string

The type keyword, see Keyword.

returns → CxLiteralSimple

The CxLiteralSimple object or null if keyword in is not a type keyword.

Returns the CxLiteralSimple object for the given type keyword.

Public / Attributes

Keyword


public attribute Keyword → (get)

value : string

[not-empty]
The literal keyword.

The literal keyword.