abstract class SimpleFixity extends Fixity
A SimpleFixity is one out of multiple typical fixities (infix, postfix, etc) characterized by using only a single delimiter.
impl and expl do not have to agree with the number of arguments demanded by the type system. * Notation has more arguments than function type: Notation extensions may handle the extra arguments. Example: equal : {a:tp} tm (a => a => bool), impl = 1, expl = 2 * Notation has less arguments than function type: Operator return a function. Example: union : {a:tp} tm (a set => a set => a set) where a set = a => bool, impl = 1, expl = 2
- Source
- NotationExtension.scala
- Alphabetic
- By Inheritance
- SimpleFixity
- Fixity
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SimpleFixity()
Abstract Value Members
-
abstract
def
addInitialImplicits(n: Int): Fixity
- Definition Classes
- Fixity
-
abstract
def
asString: (String, String)
the string representation to use when serializing notations pair of "fixity type" and type-specific argument(s)
the string representation to use when serializing notations pair of "fixity type" and type-specific argument(s)
- Definition Classes
- Fixity
-
abstract
def
delim: Delimiter
the delimiter to use
-
abstract
def
expl: Int
expl number of subsequent explicit arguments (needed to trigger notation during parsing, rendered by printer)
-
abstract
def
impl: Int
number of initial implicit arguments (inferred by parser, skipped by printer)
-
abstract
def
markers: List[Marker]
the elaboration into markers
the elaboration into markers
- Definition Classes
- Fixity
Concrete 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
-
def
argsWithOp(beforeOp: Int): List[Marker]
ImplicitArgs Args1 Delim Args2 with Args1.length == beforeOp
ImplicitArgs Args1 Delim Args2 with Args1.length == beforeOp
- Attributes
- protected
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
implArgs: List[ImplicitArg]
- Attributes
- protected
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isRelative: Boolean
true if this notation can be used for multiple constants without ambiguity because it contains placeholders
true if this notation can be used for multiple constants without ambiguity because it contains placeholders
- Definition Classes
- Fixity
-
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
relativize: Option[Fixity]
wrap first delimiter in instance name
wrap first delimiter in instance name
- Definition Classes
- Fixity
-
def
simpleArgs: String
- Attributes
- protected
-
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( ... )
-
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()