sdr 0.21

net.cscott.sdr.calls.ast
Class Seq

java.lang.Object
  extended by net.cscott.sdr.calls.ast.AstNode
      extended by net.cscott.sdr.calls.ast.Comp
          extended by net.cscott.sdr.calls.ast.Seq

public class Seq
extends Comp

Seq is the serial composition of primitive call pieces.

Version:
$Id: Seq.java,v 1.5 2006-10-17 16:29:05 cananian Exp $
Author:
C. Scott Ananian

Field Summary
 List<SeqCall> children
           
 
Fields inherited from class net.cscott.sdr.calls.ast.AstNode
type
 
Constructor Summary
Seq(List<SeqCall> children)
           
Seq(SeqCall... children)
           
 
Method Summary
<T> Comp
accept(TransformVisitor<T> v, T t)
           
<RESULT,CLOSURE>
RESULT
accept(ValueVisitor<RESULT,CLOSURE> v, CLOSURE cl)
           
 String argsToString()
           
 Seq build(List<SeqCall> children)
          Factory: creates new Seq only if it would differ from this.
 
Methods inherited from class net.cscott.sdr.calls.ast.AstNode
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

children

public final List<SeqCall> children
Constructor Detail

Seq

public Seq(SeqCall... children)

Seq

public Seq(List<SeqCall> children)
Method Detail

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 Seq build(List<SeqCall> children)
Factory: creates new Seq only if it would differ from this.


argsToString

public String argsToString()
Overrides:
argsToString in class AstNode

sdr 0.21

Copyright (c) 2006 C. Scott Ananian