|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object se.chalmers.cs.gf.linearize.LinearizeAll
public class LinearizeAll
Linearize a tree with a set of linearizers.
Constructor Summary | |
---|---|
LinearizeAll(Linearizers linearizers)
|
Method Summary | |
---|---|
java.lang.String |
getName()
Get the name of this linearizer. |
Value |
linearize(Tree t)
Linearize the given abstract syntax tree to a GF value. |
static java.util.List<Pair<java.lang.String,Value>> |
linearizeWithAll(Linearizers linearizers,
Tree t)
Linearize a value with all the linearizers. |
boolean |
tryThisOne()
Whether this linearizer should be used when linearizing with all available linearizers. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LinearizeAll(Linearizers linearizers)
Method Detail |
---|
public Value linearize(Tree t)
Linearizer
linearize
in interface Linearizer
public java.lang.String getName()
Linearizer
getName
in interface Linearizer
public boolean tryThisOne()
Linearizer
tryThisOne
in interface Linearizer
public static java.util.List<Pair<java.lang.String,Value>> linearizeWithAll(Linearizers linearizers, Tree t)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |