This repository was archived by the owner on Dec 15, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -37,11 +37,11 @@ tabStopWithoutPlaceholder = '${' index:[0-9]+ '}' {
37
37
tabStopWithPlaceholder = '${' index :[0-9]+ ':' content :placeholderContent '}' {
38
38
return { index: parseInt (index .join (" " )), content: content };
39
39
}
40
- tabStopWithTransformation = '${' index :[0-9]+ substitution :transformationSubstitution '}' {
40
+ tabStopWithTransformation = '${' index :[0-9]+ transformation :transformationSubstitution '}' {
41
41
return {
42
42
index: parseInt (index .join (" " ), 10 ),
43
43
content: [],
44
- substitution : substitution
44
+ transformation,
45
45
};
46
46
}
47
47
@@ -71,12 +71,12 @@ transformationSubstitution = '/' find:(escapedForwardSlash / [^/])* '/' replace:
71
71
formatString = content :(formatStringEscape / formatStringReference / escapedForwardSlash / [^/])+ {
72
72
return content;
73
73
}
74
- // Backreferencing a substitution . Different from a tab stop.
74
+ // Backreferencing a transformation capture group . Different from a tab stop.
75
75
formatStringReference = '$' digits :[0-9]+ {
76
76
return { backreference: parseInt (digits .join (' ' ), 10 ) };
77
77
};
78
78
// One of the special control flags in a format string for case folding and
79
79
// other tasks.
80
80
formatStringEscape = '\\ ' flag :[ULulErn$] {
81
- return { escape : flag };
81
+ return { modifier : flag };
82
82
}
You can’t perform that action at this time.
0 commit comments