|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjml2b.util.Profiler
jml2b.structure.java.VarDeclParser
Parser used for parsing VAR_DECL
clauses.
Field Summary |
Fields inherited from interface jml2b.link.Linkable |
STATE_LINKED, STATE_LINKED_STATEMENTS, STATE_LINKED_TYPE_CHECKED, STATE_UNLINKED |
Constructor Summary | |
VarDeclParser()
Creates a VarDeclParser initialised with the given AST. |
|
VarDeclParser(Modifiers m)
Creates a new instance using the given modifier for the parsed variables. |
Method Summary | |
Field[] |
getArray()
Returns the parsed variables as an array of fields. |
int |
getFieldCount()
Returns the number of variables stored in the array. |
java.util.Enumeration |
getVars()
Returns an enumeration of the parsed variables. |
void |
link(IJml2bConfiguration config,
LinkContext f)
|
int |
linkStatements(IJml2bConfiguration config,
LinkContext f)
|
antlr.collections.AST |
parse(JmlFile jmlFile,
antlr.collections.AST ast)
|
Methods inherited from class jml2b.util.Profiler |
runGC |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VarDeclParser()
VarDeclParser
initialised with the given AST.
public VarDeclParser(Modifiers m)
m
- the modifiers that will be used for the parsed variables.Method Detail |
public java.util.Enumeration getVars()
Field
Field
public Field[] getArray()
public int getFieldCount()
public antlr.collections.AST parse(JmlFile jmlFile, antlr.collections.AST ast) throws Jml2bException
Jml2bException
public void link(IJml2bConfiguration config, LinkContext f) throws Jml2bException
link
in interface Linkable
Jml2bException
public int linkStatements(IJml2bConfiguration config, LinkContext f) throws Jml2bException
linkStatements
in interface Linkable
Jml2bException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |