Skip to content

Improve Token: add convenience methods #15

Description

@mvollmary

Discussed in noncat-lang/noncat#1

In addition to RegEx some methods would be great to describe the Token, i.e.: using a method optional() instead of * within RegEx.

  • optional()
  • defaultIfEmpty(String)
  • withPrefix(String)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions