Package icyllis.arc3d.compiler.lex

# Class RegexParser

java.lang.Object
icyllis.arc3d.compiler.lex.RegexParser

public final class RegexParser extends Object
Turns a simple regular expression into a parse tree. The regular expression syntax supports only the basic quantifiers ('*', '+', and '?'), alternation ('|'), character classes ('[a-z]'), and groups ('()').

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `RegexParser()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `RegexNode`
  `parse(String source)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### RegexParser

    public RegexParser()

- ## Method Details

  - ### parse

    @Nonnull public RegexNode parse(@Nonnull String source)