parseModuleSimple

Used by import symbol caching.

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

Parameters

tokens const(Token)[]

the tokens that compose the file

fileName string

the name of the file being parsed

parseAllocator RollbackAllocator*

the allocator to use for the AST

Return Value

Type: Module

the parsed module

Meta