StringBuilding

org.parboiled2.StringBuilding

For certain high-performance use-cases it is better to construct Strings that the parser is to produce/extract from the input in a char-by-char fashion.

Mixing this trait into your parser gives you a simple facility to support this.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Parser

Members list

Value members

Concrete methods

def appendSB(): Rule0
def appendSB(offset: Int): Rule0
def appendSB(c: Char): Rule0
def appendSB(s: String): Rule0
def clearSB(): Rule0
def prependSB(): Rule0
def prependSB(offset: Int): Rule0
def prependSB(c: Char): Rule0
def prependSB(s: String): Rule0
def setSB(s: String): Rule0

Concrete fields

protected val sb: StringBuilder