mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
16 lines
441 B
Plaintext
16 lines
441 B
Plaintext
module Raw {
|
|
{{#classes}}
|
|
class {{name}} extends {{db_id}}{{#bases}}, {{.}}{{/bases}} {
|
|
{{#root}}string toString() { none() }{{/root}}
|
|
{{#final}}override string toString() { result = "{{name}}" }{{/final}}
|
|
|
|
{{#properties}}
|
|
{{type}} {{getter}}({{#is_repeated}}int index{{/is_repeated}}) {
|
|
{{tablename}}({{#tableparams}}{{^first}}, {{/first}}{{param}}{{/tableparams}})
|
|
}
|
|
{{/properties}}
|
|
}
|
|
|
|
{{/classes}}
|
|
}
|