Identifier.this

Construct an identifier from the given name.

  1. this(const(char)* name)
  2. this(const(char)* name, size_t length, int value)
  3. this(const(char)[] name, int value)
    class Identifier
    extern (D) nothrow @safe
    this
    (
    const(char)[] name
    ,
    int value
    )

Parameters

name const(char)[]

the identifier name. There must be '\0' at name[length].

value int

Identifier value (e.g. Id.unitTest) or TOK.identifier

Meta