module volta.parser.parser

Code Map

module volta.parser.parser;


class Parser : Frontend
{
public:
	dumpLex: bool;
	settings: Settings;
	errSink: ErrorSink;


public:
	this(settings: Settings, errSink: ErrorSink) { }
	fn parseNewFile(source: string, filename: string) ir.Module { }
	fn parseBlockStatement(tokens: ir.Token[], magicFlagD: bool) ir.BlockStatement { }
	fn parseStatements(source: string, loc: Location) ir.Node[] { }
	fn close() { }


protected:
	fn doDumpLex(ps: ParserStream) { }
}

fn checkError(ps: ParserStream, status: ParseStatus) { }