public class BracketApply extends Syntax
$bracket-apply$
macro.
This is produced by the reader syntax exp[args]
.
Currently, it us only use for array types: type[]
.
In the future it might have other uses - perhaps parameterized tyoes,
as in Scala.Modifier and Type | Field and Description |
---|---|
static BracketApply |
instance |
Constructor and Description |
---|
BracketApply() |
Modifier and Type | Method and Description |
---|---|
Expression |
rewrite(java.lang.Object obj,
Translator tr)
Re-write an expression that is an "application" of this Syntax object.
|
getName, getSymbol, print, rewriteForm, scanForDefinitions, scanForm, setName, setName
public static final BracketApply instance
public Expression rewrite(java.lang.Object obj, Translator tr)
Syntax