Packages

class Parser extends Object with Writable

htmlparser2 Parser

Annotations
@RawJSType() @native() @JSImport( "htmlparser2" , "Parser" )
Linear Supertypes
Writable, IEventEmitter, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Parser
  2. Writable
  3. IEventEmitter
  4. Object
  5. Any
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Parser(handler: ParserHandler, options: ParserOptions = js.native)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def _write(chunk: Buffer, callback: Function1[Error, Any]): Unit
    Definition Classes
    Writable
  5. def _write(chunk: String, encoding: String, callback: Function1[Error, Any]): Unit
    Definition Classes
    Writable
  6. def _writev(chunks: Array[Chunk], callback: Function1[Error, Any]): Unit
    Definition Classes
    Writable
  7. def addListener(eventName: String, listener: Function): Parser.this.type
    Definition Classes
    IEventEmitter
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def cork(): Unit
    Definition Classes
    Writable
  11. val domain: String
    Definition Classes
    IEventEmitter
  12. def done(): Unit

    Parses the end of the buffer and clears the stack, calls onend.

    Parses the end of the buffer and clears the stack, calls onend.

    See also

    io.scalajs.nodejs.stream.Writable.end()

  13. def emit(name: String, args: Any*): Any
    Definition Classes
    IEventEmitter
  14. def end(): Unit
    Definition Classes
    Writable
  15. def end(callback: Function1[Error, Any]): Unit
    Definition Classes
    Writable
  16. def end(chunk: String, callback: Function1[Error, Any]): Unit
    Definition Classes
    Writable
  17. def end(chunk: String, encoding: String): Unit
    Definition Classes
    Writable
  18. def end(chunk: String, encoding: String, callback: Function1[Error, Any]): Unit
    Definition Classes
    Writable
  19. def end(chunk: Buffer): Unit
    Definition Classes
    Writable
  20. def end(chunk: Buffer, callback: Function1[Error, Any]): Unit
    Definition Classes
    Writable
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  23. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  25. def getMaxListeners(): Int
    Definition Classes
    IEventEmitter
  26. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  27. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  30. def listenerCount(eventName: String): Int
    Definition Classes
    IEventEmitter
  31. def listeners(eventName: String): Array[Function]
    Definition Classes
    IEventEmitter
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  35. def on(eventName: String, listener: Function): Parser.this.type
    Definition Classes
    IEventEmitter
  36. def once(eventName: String, listener: Function): Parser.this.type
    Definition Classes
    IEventEmitter
  37. def parseChunk(chunk: |[String, Buffer]): Unit

    Parses a chunk of data and calls the corresponding callbacks.

    Parses a chunk of data and calls the corresponding callbacks.

    chunk

    the chunk of data to parse

    See also

    io.scalajs.nodejs.stream.Writable.write()

  38. def parseComplete(): Unit

    Resets the parser, parses the data & calls end.

  39. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  40. def removeAllListeners(): Parser.this.type
    Definition Classes
    IEventEmitter
  41. def removeAllListeners(eventName: String): Parser.this.type
    Definition Classes
    IEventEmitter
  42. def removeListener(eventName: String, listener: Function): Parser.this.type
    Definition Classes
    IEventEmitter
  43. def reset(): Unit

    Resets buffer & stack, calls onreset.

  44. def setDefaultEncoding(encoding: String): Parser.this.type
    Definition Classes
    Writable
  45. def setMaxListeners(n: Int): Parser.this.type
    Definition Classes
    IEventEmitter
  46. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  47. def toLocaleString(): String
    Definition Classes
    Object
  48. def toString(): String
    Definition Classes
    AnyRef → Any
  49. def uncork(): Unit
    Definition Classes
    Writable
  50. val usingDomains: Boolean
    Definition Classes
    IEventEmitter
  51. def valueOf(): Any
    Definition Classes
    Object
  52. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. def write(chunk: Buffer, callback: Function1[Error, Any]): Boolean
    Definition Classes
    Writable
  56. def write(chunk: String, callback: Function1[Error, Any]): Boolean
    Definition Classes
    Writable
  57. def write(chunk: String, encoding: String, callback: Function1[Error, Any]): Boolean
    Definition Classes
    Writable

Inherited from Writable

Inherited from IEventEmitter

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped