net.cscott.sdr.calls.ast
Class In
java.lang.Object
net.cscott.sdr.calls.ast.AstNode
net.cscott.sdr.calls.ast.Comp
net.cscott.sdr.calls.ast.In
public class In
- extends Comp
In
alters the timing of its child such that it
executes in exactly count
beats.
- Version:
- $Id: In.java,v 1.6 2006-10-17 16:29:05 cananian Exp $
- Author:
- C. Scott Ananian
Fields inherited from class net.cscott.sdr.calls.ast.AstNode |
type |
count
public final Fraction count
child
public final Comp child
In
public In(Fraction count,
Comp child)
In
public In(int i,
Seq seq)
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
argsToString
public String argsToString()
- Overrides:
argsToString
in class AstNode
build
public In build(Fraction count,
Comp child)
- Factory: creates new In only if it would differ from this.
Copyright (c) 2006 C. Scott Ananian