[WIP] Implement parsing for lambdas + start implementing call
This commit is contained in:
@@ -7,10 +7,10 @@ export type IndentData = {
|
||||
}
|
||||
|
||||
export class Indent extends Command<IndentData> {
|
||||
attemptParse(context: ParseContext): IndentData {
|
||||
async attemptParse(context: ParseContext): Promise<IndentData> {
|
||||
return {
|
||||
type: context.popKeywordInSet(['space', 'tab']).value,
|
||||
level: context.popOptionalTerm(),
|
||||
level: await context.popOptionalTerm(),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user