Literals

scalaparse.syntax.Literals
trait Literals

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Core
trait Exprs
object Scala.type
trait Types
Self type

Members list

Type members

Classlikes

object Literals

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Literals.type

Value members

Abstract methods

def Block[$ : ParsingRun]: ParsingRun[Unit]
def Pattern[$ : ParsingRun]: ParsingRun[Unit]

Concrete methods

def Newline[$ : ParsingRun]: ParsingRun[Unit]
def NotNewline[$ : ParsingRun]: ParsingRun[Unit]
def OneNLMax[$ : ParsingRun]: ParsingRun[Unit]
def Semis[$ : ParsingRun]: ParsingRun[Unit]
def TrailingComma[$ : ParsingRun]: ParsingRun[Unit]
def WL[$ : ParsingRun]: ParsingRun[Unit]
def WL0[$ : ParsingRun]: ParsingRun[Unit]

Parses whitespace, including newlines. This is the default for most things

Parses whitespace, including newlines. This is the default for most things

Attributes

def WS[$ : ParsingRun]: ParsingRun[Unit]

Parses all whitespace, excluding newlines. This is only really useful in e.g. {} blocks, where we want to avoid capturing newlines so semicolon-inference would work

Parses all whitespace, excluding newlines. This is only really useful in e.g. {} blocks, where we want to avoid capturing newlines so semicolon-inference would work

Attributes