Skip to content

Commit 5ddb283

Browse files
committed
Autofix: tslint
[atomist:generated] [atomist:autofix=tslint]
1 parent c5ec5ef commit 5ddb283

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/Microgrammar.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,15 +142,18 @@ export class Microgrammar<T> implements Term {
142142
* @return {Microgrammar<T>}
143143
*/
144144
public static fromStringAs<T = any>(spec: string,
145-
components: TermsDefinition<T> = {} as any,
146-
options: FromStringOptions = {}): Microgrammar<AnyKeysOf<T>> {
145+
components: TermsDefinition<T> = {} as any,
146+
options: FromStringOptions = {}): Microgrammar<AnyKeysOf<T>> {
147147
return this.fromString(spec, components, options);
148148
}
149149

150150
public readonly $id: string;
151151

152152
public readonly definitions = this.matcher.definitions;
153153

154+
constructor(public matcher: Concatenation) {
155+
}
156+
154157
/**
155158
* Generator for matching the given input.
156159
* @param {string | InputStream} input
@@ -162,9 +165,6 @@ export class Microgrammar<T> implements Term {
162165
return matchesIn(this, input, parseContext, l);
163166
}
164167

165-
constructor(public matcher: Concatenation) {
166-
}
167-
168168
/**
169169
* Convenience method to find matches without the ability to update them
170170
* @param input

0 commit comments

Comments
 (0)