@@ -41,7 +41,7 @@ export class ObjectScriptClassSymbolProvider implements vscode.DocumentSymbolPro
41
41
}
42
42
}
43
43
44
- let method = line . text . match ( / ^ ( (?: C l a s s | C l i e n t ) ? M e t h o d | T r i g g e r | Q u e r y ) ( \b \w + \b | " [ ^ " ] + " ) / i) ;
44
+ let method = line . text . match ( / ^ ( (?: C l a s s | C l i e n t ) ? M e t h o d | T r i g g e r | Q u e r y ) ( % ? \b \w + \b | " [ ^ " ] + " ) / i) ;
45
45
if ( method ) {
46
46
let startCode = line . range . start ;
47
47
let end = line . range . end ;
@@ -64,7 +64,7 @@ export class ObjectScriptClassSymbolProvider implements vscode.DocumentSymbolPro
64
64
} ) ;
65
65
}
66
66
67
- let index = line . text . match ( / ^ ( I n d e x | F o r e g n K e y ) ( \b \w + \b ) / i) ;
67
+ let index = line . text . match ( / ^ ( I n d e x | F o r e g n K e y ) ( % ? \b \w + \b ) / i) ;
68
68
if ( index ) {
69
69
symbols . push ( {
70
70
detail : index [ 1 ] ,
@@ -76,7 +76,7 @@ export class ObjectScriptClassSymbolProvider implements vscode.DocumentSymbolPro
76
76
} ) ;
77
77
}
78
78
79
- let property = line . text . match ( / ^ ( P r o p e r t y | R e l a t i o n s h i p ) ( \b \w + \b | " [ ^ " ] + " ) / i) ;
79
+ let property = line . text . match ( / ^ ( P r o p e r t y | R e l a t i o n s h i p ) ( % ? \b \w + \b | " [ ^ " ] + " ) / i) ;
80
80
if ( property ) {
81
81
let end = line . range . end ;
82
82
if ( ! line . text . endsWith ( ';' ) ) {
@@ -97,7 +97,7 @@ export class ObjectScriptClassSymbolProvider implements vscode.DocumentSymbolPro
97
97
} ) ;
98
98
}
99
99
100
- let parameter = line . text . match ( / ^ ( P a r a m e t e r ) ( \b \w + \b ) / i) ;
100
+ let parameter = line . text . match ( / ^ ( P a r a m e t e r ) ( % ? \b \w + \b ) / i) ;
101
101
if ( parameter ) {
102
102
symbols . push ( {
103
103
detail : parameter [ 1 ] ,
@@ -109,7 +109,7 @@ export class ObjectScriptClassSymbolProvider implements vscode.DocumentSymbolPro
109
109
} ) ;
110
110
}
111
111
112
- let other = line . text . match ( / ^ ( X D a t a | S t o r a g e ) ( \b \w + \b ) / i) ;
112
+ let other = line . text . match ( / ^ ( X D a t a | S t o r a g e ) ( % ? \b \w + \b ) / i) ;
113
113
if ( other ) {
114
114
let startCode = line . range . start ;
115
115
let end = line . range . end ;
0 commit comments