public class AbstractTypeRewriter extends Object implements TypeRewriter
| Constructor and Description |
|---|
AbstractTypeRewriter() |
public WyalFile.Type rewrite(WyalFile.Type type)
TypeRewriterType
object should be returned intact.rewrite in interface TypeRewritertype - The type to be rewrittenprotected WyalFile.Type rewritePrimitive(WyalFile.Type.Primitive type)
protected WyalFile.Type rewriteNominal(WyalFile.Type.Nominal type)
protected WyalFile.Type rewriteArray(WyalFile.Type.Array type)
protected WyalFile.Type rewriteReference(WyalFile.Type.Reference type)
protected WyalFile.Type rewriteRecord(WyalFile.Type.Record type)
protected WyalFile.Type rewriteFunction(WyalFile.Type.Function type)
protected WyalFile.Type rewriteMacro(WyalFile.Type.Property type)
protected WyalFile.Type rewriteInvariant(WyalFile.Type.Invariant type)
protected WyalFile.Type rewriteNegation(WyalFile.Type.Negation type)
protected WyalFile.Type rewriteUnion(WyalFile.Type.Union utype)
protected WyalFile.Type rewriteIntersection(WyalFile.Type.Intersection utype)
protected wybs.util.AbstractCompilationUnit.Tuple<WyalFile.Type> rewrite(wybs.util.AbstractCompilationUnit.Tuple<WyalFile.Type> tuple)
protected WyalFile.Type[] rewrite(WyalFile.Type[] types)
Copyright © 2017. All rights reserved.