|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object se.chalmers.cs.gf.linearize.GFCLinearizer
public class GFCLinearizer
A linearizer which interprets a concrete GFC module.
Constructor Summary | |
---|---|
GFCLinearizer(GFCModule module)
|
Method Summary | |
---|---|
java.lang.String |
getName()
Get the name of this linearizer. |
java.util.List<Token> |
linearize(Tree t)
Linearize the given abstract syntax tree to a GF value. |
java.util.List<Token> |
linearizeWithRanges(Tree t)
Linearize the given abstract syntax tree to a GF value, where the input ranges for each constructor are shown in the output. |
boolean |
tryThisOne()
Whether this linearizer should be used when linearizing with all available linearizers. |
java.util.List<Token> |
valueToTokens(Value v)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GFCLinearizer(GFCModule module)
module
- A GFC moduleMethod Detail |
---|
public java.util.List<Token> linearize(Tree t)
Linearizer
linearize
in interface Linearizer
public java.util.List<Token> linearizeWithRanges(Tree t)
Linearizer
linearizeWithRanges
in interface Linearizer
public java.lang.String getName()
Linearizer
getName
in interface Linearizer
public boolean tryThisOne()
Linearizer
tryThisOne
in interface Linearizer
public java.util.List<Token> valueToTokens(Value v)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |