module volta.parser.toplevel

Code Map

module volta.parser.toplevel;

public import volta.parser.statements;


fn parseModule(ps: ParserStream, mod: ir.Module) ParseStatus { }
fn createImport(loc: const(Location), names: scope (scope (string)[])) ir.Node { }
fn parseOneTopLevelBlock(ps: ParserStream, tlb: ir.TopLevelBlock) ParseStatus { }
fn ifDocCommentsUntilEndThenSkip(ps: ParserStream) bool { }
fn parseTopLevelBlock(ps: ParserStream, tlb: ir.TopLevelBlock, end: TokenType) ParseStatus { }
fn parseImport(ps: ParserStream, _import: ir.Import) ParseStatus { }
fn parseUnittest(ps: ParserStream, u: ir.Unittest) ParseStatus { }
fn parseConstructor(ps: ParserStream, c: ir.Function) ParseStatus { }
fn parseDestructor(ps: ParserStream, d: ir.Function) ParseStatus { }
fn parseClass(ps: ParserStream, c: ir.Class, templateName: string) ParseStatus { }
fn parseInterface(ps: ParserStream, i: ir._Interface, templateName: string) ParseStatus { }
fn parseUnion(ps: ParserStream, u: ir.Union, templateName: string) ParseStatus { }
fn parseStruct(ps: ParserStream, s: ir.Struct, templateName: string) ParseStatus { }
fn parseEnum(ps: ParserStream, output: ir.Node[]) ParseStatus { }
fn parseMixinFunction(ps: ParserStream, m: ir.MixinFunction) ParseStatus { }
fn parseMixinTemplate(ps: ParserStream, m: ir.MixinTemplate) ParseStatus { }
fn parseAttribute(ps: ParserStream, attr: ir.Attribute, noTopLevel: bool) ParseStatus { }
fn parseCondition(ps: ParserStream, condition: ir.Condition) ParseStatus { }
fn parseConditionTopLevel(ps: ParserStream, ctl: ir.ConditionTopLevel) ParseStatus { }