src/app/shared/services/parser.service.ts
Methods |
constructor()
|
Defined in src/app/shared/services/parser.service.ts:5
|
parseDsl |
parseDsl(text: string, mode?: string)
|
Defined in src/app/shared/services/parser.service.ts:10
|
Returns :
any
|
import { Injectable } from '@angular/core';
import { Parser } from './parser';
@Injectable()
export class ParserService {
constructor() {
}
parseDsl(text: string, mode?: string) {
return Parser.parse(text, mode);
}
}