|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectse.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 module| Method Detail |
|---|
public java.util.List<Token> linearize(Tree t)
Linearizer
linearize in interface Linearizerpublic java.util.List<Token> linearizeWithRanges(Tree t)
Linearizer
linearizeWithRanges in interface Linearizerpublic java.lang.String getName()
Linearizer
getName in interface Linearizerpublic boolean tryThisOne()
Linearizer
tryThisOne in interface Linearizerpublic java.util.List<Token> valueToTokens(Value v)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||