QuoteContext

dotty.tools.dotc.staging.QuoteContext$
object QuoteContext

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def popQuotes()(using Context): (Option[Tree], Context)

Context with a decremented quotation level and pops the Some of top of the quote context stack or None if the stack is empty. The quotation stack could be empty if we are in a top level splice or an erroneous splice directly within a top level splice.

Context with a decremented quotation level and pops the Some of top of the quote context stack or None if the stack is empty. The quotation stack could be empty if we are in a top level splice or an erroneous splice directly within a top level splice.

Attributes

def pushQuotes(quotes: Tree)(using Context): Context

Context with an incremented quotation level and pushes a reference to a Quotes on the quote context stack

Context with an incremented quotation level and pushes a reference to a Quotes on the quote context stack

Attributes