net.cscott.sdr.calls.ast
Class Warped
java.lang.Object
net.cscott.sdr.calls.ast.AstNode
net.cscott.sdr.calls.ast.Comp
net.cscott.sdr.calls.ast.Warped
public class Warped
- extends Comp
Warped
transforms the coordinate space of its child.
For example, a warped "right pull by" might become a "left pull by".
- Version:
- $Id: Warped.java,v 1.5 2006-10-18 01:55:00 cananian Exp $
- Author:
- C. Scott Ananian
Fields inherited from class net.cscott.sdr.calls.ast.AstNode |
type |
warp
public final Warp warp
child
public final Comp child
Warped
public Warped(Warp warp,
Comp child)
accept
public <T> Comp accept(TransformVisitor<T> v,
T t)
- Specified by:
accept
in class Comp
accept
public <RESULT,CLOSURE> RESULT accept(ValueVisitor<RESULT,CLOSURE> v,
CLOSURE cl)
- Specified by:
accept
in class AstNode
build
public Warped build(Warp warp,
Comp child)
- Factory: creates new If only if it would differ from this.
argsToString
public String argsToString()
- Overrides:
argsToString
in class AstNode
Copyright (c) 2006 C. Scott Ananian