200 строки
8.1 KiB
Plaintext
200 строки
8.1 KiB
Plaintext
original file
|
|
-----------------------------------
|
|
/*
|
|
Testing Isuue 32: Adding constructor as a support.type keword
|
|
*/
|
|
|
|
^^interface ^^NewInterface{
|
|
^^currentData: Data;
|
|
^^setVal(d: Data)
|
|
}
|
|
|
|
|
|
^^class NewClass implements NewInterface {
|
|
^^currentData: Data;
|
|
^^setVal(d: Data){
|
|
^^this.currentData = d;
|
|
}
|
|
^^constructor(^^m: ^^number, ^^n: ^^string){}
|
|
}
|
|
^^
|
|
/*
|
|
Testing comments
|
|
*/
|
|
-----------------------------------
|
|
|
|
>/*
|
|
^^
|
|
source.ts comment.block.ts punctuation.definition.comment.ts
|
|
> Testing Isuue 32: Adding constructor as a support.type keword
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
source.ts comment.block.ts
|
|
>*/
|
|
^^
|
|
source.ts comment.block.ts punctuation.definition.comment.ts
|
|
>
|
|
^
|
|
source.ts
|
|
>interface NewInterface{
|
|
^^^^^^^^^
|
|
source.ts meta.class.ts storage.type.interface.ts
|
|
^
|
|
source.ts meta.class.ts
|
|
^^^^^^^^^^^^
|
|
source.ts meta.class.ts entity.name.class.ts
|
|
^
|
|
source.ts meta.class.ts punctuation.definition.block.ts
|
|
> currentData: Data;
|
|
^
|
|
source.ts meta.class.ts meta.field.declaration.ts
|
|
^^^^^^^^^^^
|
|
source.ts meta.class.ts meta.field.declaration.ts variable.object.property.ts
|
|
^
|
|
source.ts meta.class.ts meta.field.declaration.ts meta.type.annotation.ts
|
|
^
|
|
source.ts meta.class.ts meta.field.declaration.ts meta.type.annotation.ts
|
|
^^^^
|
|
source.ts meta.class.ts meta.field.declaration.ts meta.type.annotation.ts entity.name.type.ts
|
|
^^
|
|
source.ts meta.class.ts
|
|
> setVal(d: Data)
|
|
^
|
|
source.ts meta.class.ts
|
|
^^^^^^
|
|
source.ts meta.class.ts meta.method.declaration.ts entity.name.function.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts variable.parameter.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts
|
|
^^^^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts entity.name.type.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts punctuation.definition.parameters.end.ts
|
|
>}
|
|
^
|
|
source.ts meta.class.ts punctuation.definition.block.ts
|
|
>
|
|
^
|
|
source.ts
|
|
>
|
|
^
|
|
source.ts
|
|
>class NewClass implements NewInterface {
|
|
^^^^^
|
|
source.ts meta.class.ts storage.type.class.ts
|
|
^
|
|
source.ts meta.class.ts
|
|
^^^^^^^^
|
|
source.ts meta.class.ts entity.name.class.ts
|
|
^
|
|
source.ts meta.class.ts
|
|
^^^^^^^^^^
|
|
source.ts meta.class.ts storage.modifier.ts
|
|
^
|
|
source.ts meta.class.ts
|
|
^^^^^^^^^^^^
|
|
source.ts meta.class.ts entity.other.inherited-class.ts
|
|
^
|
|
source.ts meta.class.ts
|
|
^
|
|
source.ts meta.class.ts punctuation.definition.block.ts
|
|
> currentData: Data;
|
|
^
|
|
source.ts meta.class.ts meta.field.declaration.ts
|
|
^^^^^^^^^^^
|
|
source.ts meta.class.ts meta.field.declaration.ts variable.object.property.ts
|
|
^
|
|
source.ts meta.class.ts meta.field.declaration.ts meta.type.annotation.ts
|
|
^
|
|
source.ts meta.class.ts meta.field.declaration.ts meta.type.annotation.ts
|
|
^^^^
|
|
source.ts meta.class.ts meta.field.declaration.ts meta.type.annotation.ts entity.name.type.ts
|
|
^^
|
|
source.ts meta.class.ts
|
|
> setVal(d: Data){
|
|
^
|
|
source.ts meta.class.ts
|
|
^^^^^^
|
|
source.ts meta.class.ts meta.method.declaration.ts entity.name.function.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts variable.parameter.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts
|
|
^^^^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts entity.name.type.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts punctuation.definition.parameters.end.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts punctuation.definition.block.ts
|
|
> this.currentData = d;
|
|
^^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts
|
|
^^^^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts variable.language.this.ts
|
|
^^^^^^^^^^^^^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts keyword.operator.assignment.ts
|
|
^^^^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts
|
|
> }
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts punctuation.definition.block.ts
|
|
> constructor(m: number, n: string){}
|
|
^
|
|
source.ts meta.class.ts
|
|
^^^^^^^^^^^
|
|
source.ts meta.class.ts meta.method.declaration.ts storage.type.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts variable.parameter.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts
|
|
^^^^^^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts support.type.primitive.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts punctuation.separator.parameter.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts variable.parameter.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts
|
|
^^^^^^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts support.type.primitive.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts punctuation.definition.parameters.end.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts punctuation.definition.block.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts punctuation.definition.block.ts
|
|
>}
|
|
^
|
|
source.ts meta.class.ts punctuation.definition.block.ts
|
|
>
|
|
^
|
|
source.ts
|
|
>/*
|
|
^^
|
|
source.ts comment.block.ts punctuation.definition.comment.ts
|
|
> Testing comments
|
|
^^^^^^^^^^^^^^^^^^
|
|
source.ts comment.block.ts
|
|
>*/
|
|
^^
|
|
source.ts comment.block.ts punctuation.definition.comment.ts |