Package caltrop.interpreter.ast

Examples of caltrop.interpreter.ast.Transition


        if ((tag != null) && (_currentStateSet != null)) {
            int length = _currentTransitions.length;

            for (int i = 0; i < length; i++) {
                Transition t = _currentTransitions[i];

                if (isPrefixedByTagList(tag, t.getActionTags())) {
                    return true;
                }
            }

            return false;
View Full Code Here


        QID tag = a.getTag();

        int length = _currentTransitions.length;

        for (int i = 0; i < length; i++) {
            Transition t = _currentTransitions[i];

            if (isPrefixedByTagList(tag, t.getActionTags())) {
                ns.add(t.getDestinationState());
            }
        }

        _currentStateSet = ns;
View Full Code Here

        // The set of transitions that we can take in the current state.
        ArrayList nt = new ArrayList();
        Transition[] ts = _actor.getScheduleFSM().getTransitions();

        for (int i = 0; i < ts.length; i++) {
            Transition t = ts[i];

            if (_currentStateSet.contains(t.getSourceState())) {
                nt.add(t);
            }
        }

        _currentTransitions = (Transition[]) nt.toArray(new Transition[nt
View Full Code Here

TOP

Related Classes of caltrop.interpreter.ast.Transition

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.