-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
hbofolts1
committed
Sep 22, 2020
1 parent
fd00b4c
commit cd199ee
Showing
9 changed files
with
117 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
class {{getFullName}}{{#if getExtends}}({{#with getExtends}}{{getFullName}}{{/with}}){{/if}}: | ||
def __init__(self): | ||
{{#each getFields}} | ||
self.{{this.getName}} = None; | ||
{{/each}} | ||
pass; | ||
{{#each getMethods}} | ||
def {{this.getName}}{{#if this.getParameters}}({{#each this.getParameters}}{{#if @first}}{{else}},{{/if}}{{#if this.getName}}{{this.getName}}{{else}}param{{@index}}{{/if}}{{/each}}){{else}}(){{/if}}: | ||
pass; | ||
{{/each}} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
class Car: | ||
def __init__(self): | ||
self.model = None; | ||
self.make = None; | ||
self.year = None; | ||
pass; | ||
def setModel(model): | ||
pass; | ||
def setMake(make): | ||
pass; | ||
def setYear(param0): | ||
pass; | ||
def getModel(): | ||
pass; | ||
def getMake(): | ||
pass; | ||
def getYear(): | ||
pass; | ||
|
||
|
||
|
||
class Driver: | ||
def __init__(self): | ||
self.name = None; | ||
pass; | ||
|
||
|
||
|
||
class NamesInThings: | ||
def __init__(self): | ||
self.field = None; | ||
self.field1 = None; | ||
self._some_private = None; | ||
self.field_2 = None; | ||
self.member_d = None; | ||
pass; | ||
def member(): | ||
pass; | ||
def member2(): | ||
pass; | ||
def member3(): | ||
pass; | ||
def member_s(): | ||
pass; | ||
|
||
|
||
|
||
class Toyota(Car): | ||
def __init__(self): | ||
pass; | ||
|
||
|
||
|
||
class Honda(Car): | ||
def __init__(self): | ||
pass; | ||
|
||
|
||
|
||
class Ford(Car): | ||
def __init__(self): | ||
pass; | ||
|
||
|
||
|
||
class Hyundai(Car): | ||
def __init__(self): | ||
pass; | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters