export class ConverterStatus { private wasAnyLongLineTruncated_ : boolean ; private wasMaximumNumNodesReached_ : boolean ; private label_ : string ; private errors_ : string [ ] ; constructor ( ) { this . wasAnyLongLineTruncated_ = false ; this . wasMaximumNumNodesReached_ = false ; this . label_ = '' ; this . errors_ = [ ] ; } getLabel ( ) { return this . label_ ; } setLabel ( label ) { this . label_ = label ; } markLongLineTruncated ( ) { this . wasAnyLongLineTruncated_ = true ; } wasAnyLongLineTruncated ( ) { return this . wasAnyLongLineTruncated_ ; } markMaximumNumNodesReached ( ) { this . wasMaximumNumNodesReached_ = true ; } wasMaximumNumNodesReached ( ) { return this . wasMaximumNumNodesReached_ ; } addError ( error ) { this . errors_ . push ( error ) ; } getErrors ( ) { return this . errors_ ; } }