@@ -38,6 +38,7 @@ public IReadOnlyList<Declaration> Load()
38
38
Grammar . Tokens . Command ,
39
39
Grammar . Tokens . Environ ,
40
40
Grammar . Tokens . Chr ,
41
+ Grammar . Tokens . ChrB ,
41
42
Grammar . Tokens . ChrW ,
42
43
Grammar . Tokens . Format ,
43
44
Grammar . Tokens . LCase ,
@@ -50,6 +51,7 @@ public IReadOnlyList<Declaration> Load()
50
51
Grammar . Tokens . Right ,
51
52
Grammar . Tokens . RightB ,
52
53
Grammar . Tokens . RTrim ,
54
+ Grammar . Tokens . Space ,
53
55
Grammar . Tokens . String ,
54
56
Grammar . Tokens . UCase ,
55
57
Grammar . Tokens . Date ,
@@ -179,6 +181,7 @@ private List<FunctionDeclaration> FunctionAliasesWithoutParameters()
179
181
CommandFunction ( ) ,
180
182
EnvironFunction ( ) ,
181
183
ChrFunction ( ) ,
184
+ ChrBFunction ( ) ,
182
185
ChrwFunction ( ) ,
183
186
FormatFunction ( ) ,
184
187
LCaseFunction ( ) ,
@@ -191,6 +194,7 @@ private List<FunctionDeclaration> FunctionAliasesWithoutParameters()
191
194
RightFunction ( ) ,
192
195
RightBFunction ( ) ,
193
196
RTrimFunction ( ) ,
197
+ SpaceFunction ( ) ,
194
198
StringFunction ( ) ,
195
199
UCaseFunction ( ) ,
196
200
InputFunction ( ) ,
@@ -360,6 +364,24 @@ private FunctionDeclaration ChrFunction()
360
364
new Attributes ( ) ) ;
361
365
}
362
366
367
+ private FunctionDeclaration ChrBFunction ( )
368
+ {
369
+ return new FunctionDeclaration (
370
+ new QualifiedMemberName ( _stringsModule . QualifiedName . QualifiedModuleName , "ChrB" ) ,
371
+ _stringsModule ,
372
+ _stringsModule ,
373
+ "Variant" ,
374
+ null ,
375
+ string . Empty ,
376
+ Accessibility . Global ,
377
+ null ,
378
+ new Selection ( ) ,
379
+ false ,
380
+ false ,
381
+ new List < IAnnotation > ( ) ,
382
+ new Attributes ( ) ) ;
383
+ }
384
+
363
385
private FunctionDeclaration ChrwFunction ( )
364
386
{
365
387
return new FunctionDeclaration (
@@ -576,6 +598,24 @@ private FunctionDeclaration RTrimFunction()
576
598
new Attributes ( ) ) ;
577
599
}
578
600
601
+ private FunctionDeclaration SpaceFunction ( )
602
+ {
603
+ return new FunctionDeclaration (
604
+ new QualifiedMemberName ( _stringsModule . QualifiedName . QualifiedModuleName , "Space" ) ,
605
+ _stringsModule ,
606
+ _stringsModule ,
607
+ "Variant" ,
608
+ null ,
609
+ string . Empty ,
610
+ Accessibility . Global ,
611
+ null ,
612
+ new Selection ( ) ,
613
+ false ,
614
+ false ,
615
+ new List < IAnnotation > ( ) ,
616
+ new Attributes ( ) ) ;
617
+ }
618
+
579
619
private FunctionDeclaration StringFunction ( )
580
620
{
581
621
return new FunctionDeclaration (
0 commit comments