File tree Expand file tree Collapse file tree
rewrite-javascript/rewrite/src/java Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -841,6 +841,8 @@ export const isIf = (tree: any): tree is J.If => tree["kind"] === J.Kind.If;
841841export const isLambda = ( tree : any ) : tree is J . Lambda => tree [ "kind" ] === J . Kind . Lambda ;
842842export const isLiteral = ( tree : any ) : tree is J . Literal => tree [ "kind" ] === J . Kind . Literal ;
843843export const isMethodDeclaration = ( n : any ) : n is J . MethodDeclaration => n . kind === J . Kind . MethodDeclaration ;
844+ export const isMethodInvocation = ( n : any ) : n is J . MethodInvocation => n . kind === J . Kind . MethodInvocation ;
845+ export const isNewClass = ( n : any ) : n is J . NewClass => n . kind === J . Kind . NewClass ;
844846export const isVariableDeclarations = ( n : any ) : n is J . VariableDeclarations => n . kind === J . Kind . VariableDeclarations ;
845847
846848export function rightPadded < T extends J | boolean > ( t : T , trailing : J . Space , markers ?: Markers ) : J . RightPadded < T > {
You can’t perform that action at this time.
0 commit comments