diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-01-28 18:32:58 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-01-28 18:32:58 +0100 |
| commit | 406de22ee5cd74dc6f67743bad4710415bb50c41 (patch) | |
| tree | 37536600378cd325956201ea175469bc22db2b1a /src/syntax/kind.rs | |
| parent | 2d56e3c5e245bf8824bf0ea8f1f1a05cb9716dc5 (diff) | |
Remove method call syntax kind
Diffstat (limited to 'src/syntax/kind.rs')
| -rw-r--r-- | src/syntax/kind.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/syntax/kind.rs b/src/syntax/kind.rs index b2b65a62..cf973e6a 100644 --- a/src/syntax/kind.rs +++ b/src/syntax/kind.rs @@ -210,10 +210,8 @@ pub enum SyntaxKind { Binary, /// A field access: `properties.age`. FieldAccess, - /// An invocation of a function: `f(x, y)`. + /// An invocation of a function or method: `f(x, y)`. FuncCall, - /// An invocation of a method: `array.push(v)`. - MethodCall, /// A function call's argument list: `(12pt, y)`. Args, /// Spreaded arguments or an argument sink: `..x`. @@ -416,7 +414,6 @@ impl SyntaxKind { Self::Binary => "binary expression", Self::FieldAccess => "field access", Self::FuncCall => "function call", - Self::MethodCall => "method call", Self::Args => "call arguments", Self::Spread => "spread", Self::Closure => "closure", |
