class Request extends AnyRef
- Alphabetic
- By Inheritance
- Request
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Request(line: String, trees: List[Global.Tree], generousImports: Boolean = false)
Type Members
- class ClassBasedWrapper extends Wrapper
- class ObjectBasedWrapper extends Wrapper
-
abstract
class
Wrapper extends CodeAssembler[(memberHandlers)#MemberHandler]
generate the source code for the object that computes this request
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Request, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
lazy val
accessPath: String
Code to import bound names from previous lines - accessPath is code to append to objectName to access anything bound by request.
- def applyToResultMember[T](name: Global.Name, f: (Global.Symbol) ⇒ T): T
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
lazy val
compile: Boolean
Compile the object file.
Compile the object file. Returns whether the compilation succeeded. If all goes well, the "types" map is computed.
-
lazy val
compilerTypeOf: Map[Global.Name, Global.Type]
Types of variables defined by this request.
- def defHandlers: collection.immutable.List[(memberHandlers)#MemberDefHandler]
- lazy val definedSymbols: Map[Global.Name, Global.Symbol]
- def defines: collection.immutable.List[Global.Symbol]
- val definesValueClass: Boolean
- def ensuring(cond: (Request) ⇒ Boolean, msg: ⇒ Any): Request
- def ensuring(cond: (Request) ⇒ Boolean): Request
- def ensuring(cond: Boolean, msg: ⇒ Any): Request
- def ensuring(cond: Boolean): Request
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fullAccessPath: String
The path of the value that contains the user code.
-
def
fullPath(vname: String): String
The path of the given member of the wrapping instance.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
val
handlers: List[(memberHandlers)#MemberHandler]
handlers for each tree in this request
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
lazy val
headerPreamble: String
Code to import bound names from previous lines - accessPath is code to append to objectName to access anything bound by request.
- def importedSymbols: collection.immutable.List[Global.Symbol]
- def imports: collection.immutable.List[Global.Symbol]
-
lazy val
importsPreamble: String
Code to import bound names from previous lines - accessPath is code to append to objectName to access anything bound by request.
-
lazy val
importsTrailer: String
Code to import bound names from previous lines - accessPath is code to append to objectName to access anything bound by request.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val line: String
- val lineRep: ReadEvalPrint
-
def
loadAndRun: (String, Boolean)
load and run the code using reflection
- def lookupTypeOf(name: Global.Name): 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()
- def originalLine: String
-
val
referencedNames: List[Global.Name]
list of names used by this expression
- lazy val resultSymbol: Global.Symbol
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
termNames: collection.immutable.List[Global.TermName]
def and val names
-
def
toCompute: String
the line of code to compute
-
def
toString(): String
- Definition Classes
- Request → AnyRef → Any
- val trees: List[Global.Tree]
- def typeNames: collection.immutable.List[Global.TypeName]
-
lazy val
typeOf: Map[Global.Name, String]
String representations of same.
- lazy val typesOfDefinedTerms: Map[Global.Name, Global.Type]
- def value: Global.Symbol
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withOriginalLine(s: String): Request.this.type
- def →[B](y: B): (Request, B)
Deprecated Value Members
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Request to StringFormat[Request] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)instead ofvalue.formatted(formatString), or use thef""string interpolator. In Java 15 and later,formattedresolves to the new method in String which has reversed parameters.
The Scala compiler and reflection APIs.