Navigation
Name
Rascal
/
Libraries
/
lang
/
java
/
m3
Synopsis
Java-specific version of the M3 model
Details
AST
Core
TypeHierarchy
TypeSymbol
Description
This API extends
analysis/m3
with Java specific functionality:
AST
: defines AST node types for Java
createAstFromFile
: Creates AST from a file
createAstFromString
:
createAstsFromDirectory
:
Declaration
:
Core
: extends the M3
Core
with Java specific concepts such as inheritance and overriding.
annotations
:
createM3FromDirectory
: globs for jars, class files and java files in a directory and tries to compile all source files into an
m3
model
extends
:
fieldAccess
:
implements
:
Language
:
methodInvocation
:
methodOverrides
:
typeDependency
:
TypeHierarchy
:
TypeSymbol
:
Bound
:
Use this API to extract Java m3 models starting from Eclipse Java projects:
Core
: create M3 models for Eclipse projects
createM3FromEclipseFile
: Extract an M3 model for a file that is located in an eclipse project
createM3FromEclipseProject
: Extract a full m3 model from an Eclipse project
createM3FromProjectJars
:
getMethodASTEclipse
: Create an AST for the given logical method location
[
Edit
] | [
New Subconcept
] | [
Recompile Course
] | [
Warnings
]
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit
ask.rascal-mpl.org
.