public interface Synchronized extends CompoundStmt
synchronized
block. Contains an expression being tested and a statement to be executed
while the expression is true
.Term.Instance
Modifier and Type | Method and Description |
---|---|
Block |
body()
The body of the
synchronized block. |
Synchronized |
body(Block body)
Set the body of the
synchronized block. |
Expr |
expr()
The expression to synchronize.
|
Synchronized |
expr(Expr expr)
Set the expression to synchronize.
|
exceptions, exceptions, reachable, reachable
del, del, dump, error, error, ext, ext, ext, ext, isDisambiguated, isTypeChecked, position, position, visit, visitEdge
addDecls, buildTypes, buildTypesEnter, checkConstants, childExpectedType, copy, copy, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, extRewrite, extRewriteEnter, lang, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, typeCheckOverride, visitChild, visitChildren, visitList
Expr expr()
Synchronized expr(Expr expr)
Block body()
synchronized
block.Synchronized body(Block body)
synchronized
block.