summaryrefslogtreecommitdiff
path: root/examples/14-struct-generic
diff options
context:
space:
mode:
Diffstat (limited to 'examples/14-struct-generic')
-rw-r--r--examples/14-struct-generic/output/typescript/src/point.ts24
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/14-struct-generic/output/typescript/src/point.ts b/examples/14-struct-generic/output/typescript/src/point.ts
index 4088b92..f3ecdec 100644
--- a/examples/14-struct-generic/output/typescript/src/point.ts
+++ b/examples/14-struct-generic/output/typescript/src/point.ts
@@ -1,5 +1,8 @@
// Generated by hobgoblin.
+// Custom area start: imports
+// Custom area end: imports
+
/**
* A set of drawings.
*/
@@ -12,6 +15,9 @@ class OwnedLineDrawing<TPoint> {
this.drawing = drawing;
this.owner = owner;
}
+
+ // Custom area start: OwnedLineDrawing, body
+ // Custom area end: OwnedLineDrawing, body
}
export {OwnedLineDrawing};
@@ -25,6 +31,9 @@ class LineDrawing2D {
public constructor(lines: ReadonlyArray<Line<Point2D>>) {
this.lines = lines;
}
+
+ // Custom area start: LineDrawing2D, body
+ // Custom area end: LineDrawing2D, body
}
export {LineDrawing2D};
@@ -38,6 +47,9 @@ class LineDrawing<TPoint> {
public constructor(lines: ReadonlyArray<Line<TPoint>>) {
this.lines = lines;
}
+
+ // Custom area start: LineDrawing, body
+ // Custom area end: LineDrawing, body
}
export {LineDrawing};
@@ -54,6 +66,9 @@ class BezierCurve<TPoint> {
this.start = start;
this.end = end;
}
+
+ // Custom area start: BezierCurve, body
+ // Custom area end: BezierCurve, body
}
export {BezierCurve};
@@ -70,6 +85,9 @@ class Line<TPoint> {
this.start = start;
this.end = end;
}
+
+ // Custom area start: Line, body
+ // Custom area end: Line, body
}
export {Line};
@@ -86,6 +104,12 @@ class Point2D {
this.x = x;
this.y = y;
}
+
+ // Custom area start: Point2D, body
+ // Custom area end: Point2D, body
}
export {Point2D};
+
+// Custom area start: body
+// Custom area end: body