object PortableResourceMacro extends PortableResourceBase
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PortableResourceMacro
- PortableResourceBase
- AnyRef
- Any
- Hide All
- Show All
Visibility
- 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 chunkString(content: String): Seq[String]
Split
contentinto pieces small enough to be emitted as individual JVM constant-pool string literals.Split
contentinto pieces small enough to be emitted as individual JVM constant-pool string literals. ACONSTANT_Utf8entry stores its length in an unsigned 16-bit field, so it cannot exceed 65535 bytes of modified UTF-8. A singlecharencodes to at most 3 modified-UTF-8 bytes (lone surrogates included), so chunking at maxChunkChars characters keeps every chunk under the limit regardless of content. Splitting mid-surrogate-pair is safe: re-concatenating the chunks at runtime reproduces the original string exactly.- Attributes
- protected
- Definition Classes
- PortableResourceBase
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def doExtractSources[T](maybeRoot: Option[String], pathExpr: String): Seq[(String, String)]
- Attributes
- protected
- Definition Classes
- PortableResourceBase
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def extractResourceContents(sourcePath: String): Seq[(String, String)]
- Attributes
- protected
- Definition Classes
- PortableResourceBase
- 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 hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def makeEmbedResources(c: Context)(path: scala.reflect.macros.blackbox.Context.Expr[String]): scala.reflect.macros.blackbox.Context.Expr[Map[String, String]]
- def makeEmbedResourcesUnchecked(c: Context)(path: scala.reflect.macros.blackbox.Context.Expr[String]): scala.reflect.macros.blackbox.Context.Expr[Map[String, String]]
- def makeEmbedSources(c: Context)(pathExpr: scala.reflect.macros.blackbox.Context.Expr[String]): scala.reflect.macros.blackbox.Context.Expr[Map[String, String]]
- def makeEmbedSourcesUnchecked(c: Context)(pathExpr: scala.reflect.macros.blackbox.Context.Expr[String]): scala.reflect.macros.blackbox.Context.Expr[Map[String, String]]
- 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()
- 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()
- def walkTree(file: File): Iterable[File]
- Attributes
- protected
- Definition Classes
- PortableResourceBase