class Ven::Parselet::PNext

Overview

Parses a 'next' expression, which can have different scopes: next and next 1, 2, 3, next fun and next loop, next fun 1, 2, 3 and next loop 1, 2, 3, etc.

Defined in:

ven/parselet/nud.cr

Constant Summary

SCOPES = ["FUN", "LOOP"] of ::String

Instance Method Summary

Instance methods inherited from class Ven::Parselet::Nud

parse(parser : Reader, tag : QTag, token : Token) parse, semicolon? : Bool semicolon?

Instance Method Detail

def parse(parser, tag, token) #

[View source]