module volta.parser.templates

Code Map

module volta.parser.templates;


//! Returns: true if ps is at a template instantiation, false otherwise.
fn isTemplateInstance(ps: ParserStream) bool { }
//! Returns: true if ps is at a template definition, false otherwise.
fn isTemplateDefinition(ps: ParserStream) bool { }
//! Returns: true if the stream is at a point where we know it's a type,
//! false otherwise.
fn isUnambigouslyType(ps: ParserStream) bool { }
fn parseLegacyTemplateInstance(ps: ParserStream, ti: ir.TemplateInstance) ParseStatus { }
fn parseTemplateInstance(ps: ParserStream, ti: ir.TemplateInstance) ParseStatus { }
fn parseTemplateDefinition(ps: ParserStream, td: ir.TemplateDefinition) ParseStatus { }
fn isTemplateInstance(ps: ParserStream) bool

Returns: true if ps is at a template instantiation, false otherwise.

fn isTemplateDefinition(ps: ParserStream) bool

Returns: true if ps is at a template definition, false otherwise.

fn isUnambigouslyType(ps: ParserStream) bool

Returns: true if the stream is at a point where we know it's a type, false otherwise.