weaponregex.parser

Members list

Concise view

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
Graph
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

Attributes

pattern

The regex pattern to be parsed

Note:

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

Companion:
object
Graph
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

Graph
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

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

JVM regex parser flavor

JVM regex parser flavor

Attributes

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

Concrete parser for JS flavor of regex

Concrete parser for JS flavor of regex

Attributes

flags

The regex flags to be used

pattern

The regex pattern to be parsed

See also:
Note:

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

Graph
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

Attributes

pattern

The regex pattern to be parsed

See also:
Note:

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

Graph
Supertypes
class Parser
class Object
trait Matchable
class Any