BaseParser

Base class to use when creating parser.

You can customize the input overwriting the default methods

Example

import { BaseParser } from '@language-kit/core'
import { BaseLineNode } from './LineNode'
import { LineProcessor } from './LineProcessor'

export class LineParser extends BaseParser<BaseLineNode> {
    public processors = [LineProcessor]
}