public AstConnectNodeBuilder() { this(new AstConnectNode()); }
public AbstractAstConnectNodeBuilder(R result) { super(new AstConnectNode(), result); }
public ScriptNested(R builder) { super(new AstConnectNode(), builder); }
@Override public AstScriptNode visit(AstConnectNode connectNode, State state) { state.connectivityState = ConnectivityState.NONE; AstConnectNode newConnectNode = new AstConnectNode(connectNode); state.streamables = newConnectNode.getStreamables(); for (AstStreamableNode streamable : connectNode.getStreamables()) { streamable.accept(this, state); } state.streams.add(newConnectNode); return null; }
@Override public AstScriptNode visit(AstConnectNode connectNode, State state) { state.readState = ReadWriteState.NONE; state.writeState = ReadWriteState.NONE; AstConnectNode newConnectNode = new AstConnectNode(connectNode); state.streamables = newConnectNode.getStreamables(); for (AstStreamableNode streamable : connectNode.getStreamables()) { streamable.accept(this, state); } state.streams.add(newConnectNode); return null; }
@Override public AstScriptNode visit(AstConnectNode connectNode, State state) { AstConnectNode newConnectNode = new AstConnectNode(connectNode); state.streamables = newConnectNode.getStreamables(); for (AstStreamableNode streamable : connectNode.getStreamables()) { streamable.accept(this, state); } state.streams.add(newConnectNode); return null; }
@Override public AstScriptNode visit(AstConnectNode connectNode, State state) { state.readWriteState = ReadWriteState.NONE; AstConnectNode newConnectNode = new AstConnectNode(connectNode); state.streamables = newConnectNode.getStreamables(); for (AstStreamableNode streamable : connectNode.getStreamables()) { streamable.accept(this, state); } state.streams.add(newConnectNode); return null; }
@Override public AstConnectNode visitConnectNode(ConnectNodeContext ctx) { AstLocationVisitor locationVisitor = new AstLocationVisitor(factory, environment); AstValue<URI> location = locationVisitor.visit(ctx.connectURI); node = new AstConnectNode(); node.setLocation(location); super.visitConnectNode(ctx); node.setRegionInfo(asParallelRegion(childInfos, ctx)); if (ctx.await != null) { node.setAwaitName(ctx.await.getText()); } return node; }