parseModuleSimple

Used by import symbol caching.

Module
parseModuleSimple
(
const(Token)[] tokens
,
string fileName
,
RollbackAllocator* parseAllocator
)

Parameters

tokens
Type: const(Token)[]

the tokens that compose the file

fileName
Type: string

the name of the file being parsed

parseAllocator
Type: RollbackAllocator*

the allocator to use for the AST

Return Value

Type: Module

the parsed module

Meta