Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/extensions/copilot/test/simulation/fixtures/edit/5710.ts
13399 views
1
interface Formattable {
2
format(): string;
3
}
4
abstract class Expression implements Formattable {
5
abstract format(): string;
6
}
7
8
class BinaryExpression extends Expression implements Formattable {
9
format(): string {
10
throw new Error("Method not implemented.");
11
}
12
left: Expression
13
right: Expression
14
operator: string
15
constructor(left: Expression, right: Expression, operator: string) {
16
super()
17
this.left = left
18
this.right = right
19
this.operator = operator
20
}
21
}
22
23