Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/extensions/copilot/src/extension/prompts/node/test/fixtures/5710.summarized.ts
13406 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
__SELECTION_HERE__
10
left: Expression
11
right: Expression
12
operator: string
13
constructor(left: Expression, right: Expression, operator: string) {
14
super()
15
this.left = left
16
this.right = right
17
this.operator = operator
18
}
19
}
20
21