Sha256: c8db662024e01b6f4577609236ee65eb5e9889768ba8ff051808f573202b3a8a

Contents?: true

Size: 605 Bytes

Versions: 12

Compression:

Stored size: 605 Bytes

Contents

package org.cx4a.rsense.typing.vertex;

import org.jrubyparser.ast.ToAryNode;

import org.cx4a.rsense.typing.Propagation;

public class ToAryVertex extends Vertex {
    private Vertex valueVertex;

    public ToAryVertex(ToAryNode node, Vertex valueVertex) {
        super(node);
        this.valueVertex = valueVertex;
        valueVertex.addEdge(this);
    }

    public Vertex getValueVertex() {
        return valueVertex;
    }

    @Override
    public boolean accept(Propagation propagation, Vertex src) {
        return propagation.getGraph().propagateToAryVertex(propagation, this, src);
    }
}

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rsense-core-0.6.6 src/org/cx4a/rsense/typing/vertex/ToAryVertex.java
rsense-core-0.6.5 src/org/cx4a/rsense/typing/vertex/ToAryVertex.java
rsense-core-0.6.4 src/org/cx4a/rsense/typing/vertex/ToAryVertex.java
rsense-core-0.6.2 src/org/cx4a/rsense/typing/vertex/ToAryVertex.java
rsense-core-0.6.1 src/org/cx4a/rsense/typing/vertex/ToAryVertex.java
rsense-core-0.6.0 src/org/cx4a/rsense/typing/vertex/ToAryVertex.java
rsense-core-0.5.9 src/org/cx4a/rsense/typing/vertex/ToAryVertex.java
rsense-core-0.5.8 src/org/cx4a/rsense/typing/vertex/ToAryVertex.java
rsense-core-0.5.6 src/org/cx4a/rsense/typing/vertex/ToAryVertex.java
rsense-core-0.5.2 src/org/cx4a/rsense/typing/vertex/ToAryVertex.java
rsense-core-0.5.1 src/org/cx4a/rsense/typing/vertex/ToAryVertex.java
rsense-core-0.5.0 src/org/cx4a/rsense/typing/vertex/ToAryVertex.java