Skip to content

Commit 3cfc8f1

Browse files
committed
method names in double-quotes
1 parent 3b626fb commit 3cfc8f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/classDefinition.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ export class ClassDefinition {
154154
if (name.startsWith("#")) {
155155
pattern = `(Parameter) ${name.substr(1)}(?=[( ;])`;
156156
} else {
157-
pattern = `((Class)?Method|Property|RelationShip) ${name}(?=[( ])`;
157+
pattern = `((Class)?Method|Property|RelationShip) (${name}|"${name}")(?=[( ])`;
158158
}
159159
return this.getDocument().then(document => {
160160
for (let i = 0; i < document.lineCount; i++) {

0 commit comments

Comments
 (0)