org.irisa.genouest.logol.types
Class RepeatVariable
java.lang.Object
org.irisa.genouest.logol.types.AbstractVariable
org.irisa.genouest.logol.types.ViewVariable
org.irisa.genouest.logol.types.RepeatVariable
public class RepeatVariable
- extends ViewVariable
Class managing repeat variable types
- Author:
- osallou
History: 02/06/09 Bug 1374 Add spacer as return var
Method Summary |
java.lang.String |
content(LogolVariable lvar)
Manage repeat like variables |
static java.lang.String |
map2predicate(java.lang.String predicate,
int id,
java.lang.String plist,
boolean overlap)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepeatVariable
public RepeatVariable(int varID)
content
public java.lang.String content(LogolVariable lvar)
throws GrammarException
- Manage repeat like variables
- Overrides:
content
in class ViewVariable
- Parameters:
lvar
- current variable
- Returns:
- prolog content
- Throws:
GrammarException
map2predicate
public static java.lang.String map2predicate(java.lang.String predicate,
int id,
java.lang.String plist,
boolean overlap)