|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--jltools.ext.jl.ast.Node_c
|
+--jltools.ext.jl.ast.Expr_c
|
+--jltools.ext.jl.ast.Lit_c
|
+--jltools.ext.jl.ast.NullLit_c
The Java literal null.
| Inner classes inherited from class jltools.ext.jl.ast.Node_c |
Node_c.StringCodeWriter |
| Fields inherited from class jltools.ext.jl.ast.Expr_c |
type |
| Fields inherited from class jltools.ext.jl.ast.Node_c |
ext, position |
| Constructor Summary | |
NullLit_c(Ext ext,
Position pos)
|
|
| Method Summary | |
java.lang.Object |
objValue()
Get the value of the expression, as an object. |
java.lang.String |
toString()
|
void |
translate_(CodeWriter w,
Translator tr)
Write the expression to an output file. |
Node |
typeCheck_(TypeChecker tc)
Type check the expression. |
| Methods inherited from class jltools.ext.jl.ast.Lit_c |
precedence |
| Methods inherited from class jltools.ext.jl.ast.Expr_c |
buildTypes_, dump, reconstructTypes_, translateSubexpr, type, type |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface jltools.ast.Expr |
precedence, type |
| Methods inherited from interface jltools.ast.Node |
buildTypes_, buildTypesOverride_, copy, disambiguate_, disambiguateOverride_, disambiguateTypes_, disambiguateTypesOverride_, dump, enterScope, exceptionCheck_, exceptionCheckOverride_, ext, ext, foldConstants_, foldConstantsOverride_, leaveScope, position, position, reconstructTypes_, typeCheckOverride_, visit, visitChildren |
| Methods inherited from interface jltools.ast.Typed |
type |
| Constructor Detail |
public NullLit_c(Ext ext,
Position pos)
| Method Detail |
public Node typeCheck_(TypeChecker tc)
typeCheck_ in interface NodetypeCheck_ in class Node_cpublic java.lang.Object objValue()
objValue in interface LitobjValue in class Lit_cpublic java.lang.String toString()
toString in class Node_c
public void translate_(CodeWriter w,
Translator tr)
translate_ in interface Nodetranslate_ in class Node_cjltools.ast.Nodew - The code writer to which to write.tr - The translation pass. This is not a visitor.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||