Home Manual Reference Source Test Repository
public class | source

InvalidCodeLogger

You can directly use instance of this class. invalidCodeLogger

logger for invalid code which can not be parsed with ESDoc.

Method Summary

Public Methods
public

show(filePath: string, node: ASTNode)

show log.

public

showFile(filePath: string, error: Error)

show log.

Public Methods

public show(filePath: string, node: ASTNode) source

show log.

Params:

NameTypeAttributeDescription
filePath string

invalid code in this file.

node ASTNode
  • optional

fail parsing node.

public showFile(filePath: string, error: Error) source

show log.

Params:

NameTypeAttributeDescription
filePath string

invalid code in this file.

error Error

error object.