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 | VariantN!(20,bool,string,dchar,int,long,float,double,real,Date,DateTimeFrac,SysTime,DateTimeFracUnknownZone,Duration,ubyte[],typeof(null)) | 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 | function(bool, string, dchar, int, long, float, double, real, Date, DateTimeFrac, SysTime, DateTimeFracUnknownZone, Duration, ubyte[], typeof function(null)) | SDL's datatypes map to D's datatypes as described below. Most are straightforward, but take special note of the date/time-related types. |