MatcherResult

io.github.edadma.pattern_matcher.Matchers.MatcherResult
abstract class MatcherResult[+R]

Abstract class for Matcher results

Type parameters

R

type of result value

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Match[R]
class Mismatch

Members list

Value members

Abstract methods

def map[S](f: R => S): MatcherResult[S]

Applies of function to matcher result value.

Applies of function to matcher result value.

Type parameters

S

type of new result value

Value parameters

f

funciton to be applied to result value

Attributes

Returns

new matcher result

Abstract fields

val next: Input

Next character of input.

Next character of input.

Attributes