net.cscott.sdr.calls.ast
Class ParCall
java.lang.Object
net.cscott.sdr.calls.ast.AstNode
net.cscott.sdr.calls.ast.ParCall
public class ParCall
- extends AstNode
ParCall
bundles a selector with a
Comp
. A ParCall
applies
the child to dancers which match the given
TaggedFormation.Tag
s.
- Version:
- $Id: ParCall.java,v 1.10 2006-10-19 18:44:50 cananian Exp $
- Author:
- C. Scott Ananian
Fields inherited from class net.cscott.sdr.calls.ast.AstNode |
type |
tags
public final Set<TaggedFormation.Tag> tags
child
public final Comp child
ParCall
public ParCall(Set<TaggedFormation.Tag> tags,
Comp child)
parseTags
public static Set<TaggedFormation.Tag> parseTags(List<String> tagNames)
accept
public <T> ParCall accept(TransformVisitor<T> v,
T t)
- Specified by:
accept
in class AstNode
accept
public <RESULT,CLOSURE> RESULT accept(ValueVisitor<RESULT,CLOSURE> v,
CLOSURE cl)
- Specified by:
accept
in class AstNode
build
public ParCall build(Set<TaggedFormation.Tag> tags,
Comp child)
- Factory: creates new ParCall only if it would differ from this.
argsToString
public String argsToString()
- Overrides:
argsToString
in class AstNode
Copyright (c) 2006 C. Scott Ananian