class

Phreak::RootParser

Inherits Phreak::Subparser < Reference < Object

The internal master parsing class. This is where everything is initially kicked off.

Constructors

new(args : Array(String))
Source

Instance methods

default

Yields to a callback if Phreak::parse is called with no arguments.

Source
next_token

Returns the next token, if available. Will raise an exception if @args.size == 0

Source
token_available?

Returns true if there is at least one token remaining to be parsed.

Source