- createMatchers(): {
isMacro: ((node) => node is Macro);
isRecognized: ((nodes, whitespaceAllowed?) => null | String);
isSplitable: ((node) => boolean);
isWhitespace: ((node) => node is Whitespace);
split: ((node) => {
content: string;
type: string;
}[]);
} Returns {
isMacro: ((node) => node is Macro);
isRecognized: ((nodes, whitespaceAllowed?) => null | String);
isSplitable: ((node) => boolean);
isWhitespace: ((node) => node is Whitespace);
split: ((node) => {
content: string;
type: string;
}[]);
}
isMacro: ((node) => node is Macro)
isRecognized: ((nodes, whitespaceAllowed?) => null | String)
- (nodes, whitespaceAllowed?): null | String
Parameters
nodes: Node[]
whitespaceAllowed: boolean = false
Returns null | String
isSplitable: ((node) => boolean)
- (node): boolean
Returns boolean
isWhitespace: ((node) => node is Whitespace)
split: ((node) => {
content: string;
type: string;
}[])
- (node): {
content: string;
type: string;
}[] Returns {
content: string;
type: string;
}[]