class Ven::Parselet::PBox
- Ven::Parselet::PBox
- Ven::Parselet::Nud
- Reference
- Object
Overview
Parses a 'box' statement: box Foo
. Box name must be
capitalized. A box can accept parameters the way funs
accept them: box Foo(a, b) given num
, etc. Boxes can
have blocks (namespaces), which may contain solely
assignments (PAssign
s):
box Foo {
x = 0;
y = x;
}