Module sdlang_.token
Functions
Structs
Name | Description |
---|---|
DateTimeFrac | DateTime doesn't support milliseconds, but SDL's "Date Time" type does. So this is needed for any SDL "Date Time" that doesn't include a time zone. |
DateTimeFracUnknownZone | If a "Date Time" literal in the SDL file has a time zone that's not found in your system, you get one of these instead of a SysTime. (Because it's impossible to indicate "unknown time zone" with 'std.datetime.TimeZone'.) |
Token | This only represents terminals. Nonterminals aren't constructed since the AST is directly built during parsing. |
Templates
Name | Description |
---|---|
isSDLSink |
Aliases
Name | Type | Description |
---|---|---|
Value | std.variant.VariantN!(20,bool,string,dchar,int,long,float,double,real,std.datetime.Date,sdlang_.token.DateTimeFrac,std.datetime.SysTime,sdlang_.token.DateTimeFracUnknownZone,core.time.Duration,ubyte[],) | SDL's datatypes map to D's datatypes as described below. Most are straightforward, but take special note of the date/time-related types. |
ValueTypes | SDL's datatypes map to D's datatypes as described below. Most are straightforward, but take special note of the date/time-related types. |