class JsSource extends AnyRef
- Alphabetic
- By Inheritance
- JsSource
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def filePath: String
- returns
the file path of the parsed file. If this file is the result of transpilation the original source file path is calculated from the corresponding sourcemap.
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getCode(node: Node): String
- returns
the code of a node in the parsed file. If this file is the result of transpilation the original code is calculated from the corresponding sourcemap. Note: in this case, only the re-mapped starting line/column number are available. Hence, we extract only a fixed number of characters (max. until the end of the file).
- def getColumn(node: Node): Option[Int]
- returns
the column number of a node in the parsed file. If this file is the result of transpilation the original column number is calculated from the corresponding sourcemap.
- def getLine(node: Node): Option[Int]
- returns
the line number of a node in the parsed file. If this file is the result of transpilation the original line number is calculated from the corresponding sourcemap.
- def getString(node: Node): String
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def originalFilePath: String
- returns
always the original file that was parsed. Might be a file that is the result of transpilation
- val projectDir: Path
- val source: Source
- val srcDir: File
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()