case class CompileTimeOnly(pos: String, msg: String) extends CompileError with Product with Serializable
A CompileError representing a compileTimeOnly
node within a tree
- Alphabetic
- By Inheritance
- CompileTimeOnly
- Serializable
- Serializable
- Product
- Equals
- CompileError
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new CompileTimeOnly(pos: String, msg: String)
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
check(errorPos: String, msgs: String*): Unit
Performs some basic, common checking on the compilation error object, to verify that it matches what you expect
Performs some basic, common checking on the compilation error object, to verify that it matches what you expect
- errorPos
The expected position-message returned by the compile error. Usually something like """ true * false ^ """ This mimicks the position-message shown in the terminal, and should be a convenient way of indicating where you expect the error to occur. Pass in an empty-string to skip this check.
- msgs
A list of snippets that should appear in the error message. Typically something like "value * is not a member of Boolean" to ensure that the message is what you want
- Definition Classes
- CompileError
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
msg: String
- Definition Classes
- CompileTimeOnly → CompileError
-
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()
-
val
pos: String
- Definition Classes
- CompileTimeOnly → CompileError
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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
- @native() @throws( ... )