Package gnu.kawa.lispexpr
Class BracketApply
- java.lang.Object
-
- kawa.lang.Syntax
-
- gnu.kawa.lispexpr.BracketApply
-
- All Implemented Interfaces:
gnu.kawa.format.Printable
,Named
public class BracketApply extends Syntax
Expand$bracket-apply$
macro. This is produced by the reader syntaxexp[args]
. Currently, it us only use for array types:type[]
. In the future it might have other uses - perhaps parameterized tyoes, as in Scala.
-
-
Field Summary
Fields Modifier and Type Field Description static BracketApply
instance
-
Constructor Summary
Constructors Constructor Description BracketApply()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Expression
rewrite(Object obj, Translator tr)
Re-write an expression that is an "application" of this Syntax object.-
Methods inherited from class kawa.lang.Syntax
getName, getSymbol, print, rewriteForm, scanForDefinitions, scanForm, setName, setName
-
-
-
-
Field Detail
-
instance
public static final BracketApply instance
-
-
Method Detail
-
rewrite
public Expression rewrite(Object obj, Translator tr)
Description copied from class:Syntax
Re-write an expression that is an "application" of this Syntax object.
-
-