KeySpecLiteral

io.worxbend.tui.core.KeySpecLiteral

The implementation behind the key"…" interpolator above.

Public only because an inline method's body is expanded in whichever module calls it, so this object has to be reachable from there. It is not an API: call the interpolator, or KeyEvent.parse for a spec that is not a literal.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def expand(sc: Expr[StringContext], args: Expr[Seq[Any]])(using q: Quotes): Expr[KeyEvent]

Turns the literal parts of a key"…" into a KeyEvent tree, or aborts the compilation with the reason.

Turns the literal parts of a key"…" into a KeyEvent tree, or aborts the compilation with the reason.

Attributes