jml2b.formula
Class QuantifiedVarForm
java.lang.Object
jml2b.util.Profiler
jml2b.formula.QuantifiedVarForm
- Direct Known Subclasses:
- JavaQuantifiedVarForm
- public class QuantifiedVarForm
- extends Profiler
This class implements a list of quatified variables.
- Author:
- L. Burdy
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuantifiedVarForm
public QuantifiedVarForm(QuantifiedVarForm qvf)
QuantifiedVarForm
public QuantifiedVarForm(TerminalForm var,
Formula type)
- Creates a list with one quantified variable.
- Parameters:
var
- The variable name.type
- The variable type.
QuantifiedVarForm
public QuantifiedVarForm(TerminalForm var,
Formula type,
QuantifiedVarForm next)
- Creates a quantified variable list from another one.
- Parameters:
var
- The current variable nametype
- The current variable typenext
- The next element of the list
clone
public java.lang.Object clone()
- Clones the quantified variables
toLang
public ITranslationResult toLang(java.lang.String language,
int indent)
throws LanguageException
- Throws:
LanguageException
getNext
public QuantifiedVarForm getNext()
- Returns:
getType
public Formula getType()
- Returns:
getVar
public TerminalForm getVar()
- Returns: