File | jtree.str |
Author | unknown |
Since | unknown |
Utils for Java Abstract Syntax Trees
General | |
Lines of code | 269 |
Stratego | |
Module number | 1 (100% documented) |
Constructor number | 0 |
Overlay number | 0 |
Strategy number | 37 (35% documented) |
Rule number | 0 |
DynamicRule number | 0 |
Strategy summary |
||
apply-to-body-decs-of-typedec(Strategy s) | n/a | jtree.str |
apply-to-body-decs-of-typedec(Strategy s) | n/a | jtree.str |
apply-to-constructor-decs-of-typedec(Strategy s) | n/a | jtree.str |
apply-to-field-decs-of-typedec(Strategy s) | n/a | jtree.str |
apply-to-member-type-decs-of-typedec(Strategy s) | n/a | jtree.str |
apply-to-method-decs-of-typedec(Strategy s) | n/a | jtree.str |
get-body-decs-of-typedec | n/a | jtree.str |
get-body-decs-of-typedec | n/a | jtree.str |
get-constructor-decs-of-typedec | n/a | jtree.str |
get-field-decs-of-typedec | n/a | jtree.str |
get-field-decs-of-typedec | n/a | jtree.str |
get-member-type-decs-of-typedec | n/a | jtree.str |
get-name-of-typedec | Returns the name of a type declaration | jtree.str |
get-name-of-typedec | n/a | jtree.str |
get-package-name-of-compilation-unit | n/a | jtree.str |
get-package-name-of-compilation-unit | n/a | jtree.str |
get-package-of-compilation-unit | Returns the package of a compilation unit | jtree.str |
get-superclass-of-typedec | Returns the superclass of a type declaration | jtree.str |
get-superinterfaces-of-typedec | Returns the superinterfaces of a type declaration | jtree.str |
get-superinterfaces-of-typedec | n/a | jtree.str |
get-type-of-field(ATerm x) | n/a | jtree.str |
get-type-of-param | n/a | jtree.str |
get-vardec-of-field(ATerm x) | n/a | jtree.str |
get-vardecid-of-field(ATerm x) | n/a | jtree.str |
is-class-init-method | n/a | jtree.str |
is-float-literal | Succeeds if this is a float literal (ends with f or F) | jtree.str |
is-floating-point-literal | Succeeds if this is a float or double literal | jtree.str |
is-instance-init-method | Succeeds if this is an instance initialization method (constructor) | jtree.str |
is-integer-literal | Succeeds if this is an integer literal (Long or Int) | jtree.str |
is-integer-literal | n/a | jtree.str |
is-integer-literal | n/a | jtree.str |
is-long-literal | Succeeds if this is a long literal | jtree.str |
pack-compilation-unit | Dirty hack | jtree.str |
test-last-char(Strategy s) | s is applied to the last character of the string | jtree.str |
type-add-dimensions-from-id(ATerm vardecid) | n/a | jtree.str |
type-add-dimensions-from-id(ATerm vardecid) | n/a | jtree.str |
unpack-compilation-unit | Dirty hack | jtree.str |
Strategy details |
|||||||||||
ATerm | get-name-of-typedec | ||||||||||
Returns the name of a type declaration.
|
|||||||||||
ATerm | get-package-of-compilation-unit | ||||||||||
Returns the package of a compilation unit. The package is created if it does not exist.
|
|||||||||||
ATerm | get-superclass-of-typedec | ||||||||||
Returns the superclass of a type declaration. This strategy does not return java.lang.Object if no superclassis defined.
|
|||||||||||
ATerm | get-superinterfaces-of-typedec | ||||||||||
Returns the superinterfaces of a type declaration. This strategy fails if no interfaces are implemented.
|
|||||||||||
ATerm | is-float-literal | ||||||||||
Succeeds if this is a float literal (ends with f or F)
|
|||||||||||
ATerm | is-floating-point-literal | ||||||||||
Succeeds if this is a float or double literal. |
|||||||||||
ATerm | is-instance-init-method | ||||||||||
Succeeds if this is an instance initialization method (constructor).
|
|||||||||||
ATerm | is-integer-literal | ||||||||||
Succeeds if this is an integer literal (Long or Int)
|
|||||||||||
ATerm | is-long-literal | ||||||||||
Succeeds if this is a long literal
|
|||||||||||
ATerm | pack-compilation-unit | ||||||||||
Dirty hack.
|
|||||||||||
ATerm | test-last-char(Strategy s) | ||||||||||
s is applied to the last character of the string
|
|||||||||||
ATerm | type-add-dimensions-from-id(ATerm vardecid) | ||||||||||
No information available.
|
|||||||||||
ATerm | unpack-compilation-unit | ||||||||||
Dirty hack.
|
|||||||||||