weaponregex.parser

Members list

Type members

Classlikes

object Parser

Companion object for weaponregex.parser.Parser class that instantiates flavor-specific parsers instances

Companion object for weaponregex.parser.Parser class that instantiates flavor-specific parsers instances

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Parser.type
abstract class Parser(val pattern: String)

The based abstract parser

The based abstract parser

Value parameters

pattern

The regex pattern to be parsed

Attributes

Note

The parsing rules methods inside this class is created based on the defined grammar

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ParserJS
class ParserJVM
sealed trait ParserFlavor

A regex parser flavor

A regex parser flavor

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ParserFlavorJS.type
object ParserFlavorJVM.type
case object ParserFlavorJS extends ParserFlavor

JS regex parser flavor

JS regex parser flavor

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait ParserFlavor
class Object
trait Matchable
class Any
Show all
Self type
case object ParserFlavorJVM extends ParserFlavor

JVM regex parser flavor

JVM regex parser flavor

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait ParserFlavor
class Object
trait Matchable
class Any
Show all
Self type
class ParserJS extends Parser

Concrete parser for JS flavor of regex

Concrete parser for JS flavor of regex

Value parameters

flags

The regex flags to be used

pattern

The regex pattern to be parsed

Attributes

See also
Note

This class constructor is private, instances must be created using the companion weaponregex.parser.Parser object

Supertypes
class Parser
class Object
trait Matchable
class Any
class ParserJVM extends Parser

Concrete parser for JVM flavor of regex

Concrete parser for JVM flavor of regex

Value parameters

pattern

The regex pattern to be parsed

Attributes

See also
Note

This class constructor is private, instances must be created using the companion weaponregex.parser.Parser object

Supertypes
class Parser
class Object
trait Matchable
class Any