lodash-template-js-parser
Version:
A JavaScript parser for lodash.template
22 lines (21 loc) • 716 B
TypeScript
import { HasLocation } from "./locations";
import { SourceCodeStore } from "../service/SourceCodeStore";
/**
* The node
*/
export declare class Node extends HasLocation {
type: string;
parent: any | undefined;
/**
* constructor.
* @param {string} type The token type.
* @param {number} startIndex The start index of range.
* @param {number} endIndex The end index of range.
* @param {SourceCodeStore} sourceCodeStore The sourceCodeStore.
* @param {object} optProps The optional property.
* @returns {void}
*/
constructor(type: string, startIndex: number, endIndex: number, sourceCodeStore: SourceCodeStore, optProps: {
parent?: any;
});
}