[WIP] Implement parsing for lambdas + start implementing call
This commit is contained in:
@@ -9,8 +9,8 @@ export class InFile extends Command<{ path: StrTerm }> {
|
||||
return this.isKeyword(token, 'infile')
|
||||
}
|
||||
|
||||
attemptParse(context: ParseContext): { path: StrTerm } {
|
||||
return { path: context.popTerm() }
|
||||
async attemptParse(context: ParseContext): Promise<{ path: StrTerm }> {
|
||||
return { path: await context.popTerm() }
|
||||
}
|
||||
|
||||
getDisplayName(): string {
|
||||
|
||||
Reference in New Issue
Block a user