Class

io.scalajs.npm.htmlparser2

Parser

Related Doc: package htmlparser2

Permalink

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)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def _write(chunk: Buffer, callback: Function1[Error, Any]): Unit

    Permalink
    Definition Classes
    Writable
  5. def _write(chunk: String, encoding: String, callback: Function1[Error, Any]): Unit

    Permalink
    Definition Classes
    Writable
  6. def _writev(chunks: Array[Chunk], callback: Function1[Error, Any]): Unit

    Permalink
    Definition Classes
    Writable
  7. def addListener(eventName: String, listener: Function): Parser.this.type

    Permalink
    Definition Classes
    IEventEmitter
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def cork(): Unit

    Permalink
    Definition Classes
    Writable
  11. var domain: String

    Permalink
    Definition Classes
    IEventEmitter
  12. def done(): Unit

    Permalink

    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

    Permalink
    Definition Classes
    IEventEmitter
  14. def end(callback: Function1[Error, Any]): Unit

    Permalink
    Definition Classes
    Writable
  15. def end(chunk: String, encoding: String): Unit

    Permalink
    Definition Classes
    Writable
  16. def end(chunk: String, encoding: String, callback: Function1[Error, Any]): Unit

    Permalink
    Definition Classes
    Writable
  17. def end(chunk: |[String, Buffer]): Unit

    Permalink
    Definition Classes
    Writable
  18. def end(chunk: |[String, Buffer], callback: Function1[Error, Any]): Unit

    Permalink
    Definition Classes
    Writable
  19. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. def getMaxListeners(): Int

    Permalink
    Definition Classes
    IEventEmitter
  24. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  25. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  28. def listenerCount(eventName: String): Int

    Permalink
    Definition Classes
    IEventEmitter
  29. def listeners(eventName: String): Array[Function]

    Permalink
    Definition Classes
    IEventEmitter
  30. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. def on(eventName: String, listener: Function): Parser.this.type

    Permalink
    Definition Classes
    IEventEmitter
  34. def once(eventName: String, listener: Function): Parser.this.type

    Permalink
    Definition Classes
    IEventEmitter
  35. def parseChunk(chunk: |[String, Buffer]): Unit

    Permalink

    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()

  36. def parseComplete(): Unit

    Permalink

    Resets the parser, parses the data & calls end.

  37. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  38. def removeAllListeners(): Parser.this.type

    Permalink
    Definition Classes
    IEventEmitter
  39. def removeAllListeners(eventName: String): Parser.this.type

    Permalink
    Definition Classes
    IEventEmitter
  40. def removeListener(eventName: String, listener: Function): Parser.this.type

    Permalink
    Definition Classes
    IEventEmitter
  41. def reset(): Unit

    Permalink

    Resets buffer & stack, calls onreset.

  42. def setDefaultEncoding(encoding: String): Parser.this.type

    Permalink
    Definition Classes
    Writable
  43. def setMaxListeners(n: Int): Parser.this.type

    Permalink
    Definition Classes
    IEventEmitter
  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  45. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  46. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  47. def uncork(): Unit

    Permalink
    Definition Classes
    Writable
  48. var usingDomains: Boolean

    Permalink
    Definition Classes
    IEventEmitter
  49. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  50. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. def write(chunk: |[Buffer, String], encoding: String, callback: Function1[Error, Any]): Boolean

    Permalink
    Definition Classes
    Writable
  54. def write(chunk: |[Buffer, String], encoding: String): Boolean

    Permalink
    Definition Classes
    Writable
  55. def write(chunk: |[Buffer, String], callback: Function1[Error, Any]): Boolean

    Permalink
    Definition Classes
    Writable

Inherited from Writable

Inherited from IEventEmitter

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped