Пример #1
0
 public override void Visit(DenyStatement node) { this.action(node); }
Пример #2
0
        public virtual void VisitDenyStatement(DenyStatement test)
        {
            string state = GetState();
            if (state == null)
                throw new MalformedFSMException("Interface Command found outside of state block", test.line);

            string transName = state + "On" + test.name;

            stream.WriteLine("\tFSM::InterfaceCommandDeny<" + ClassName + "> " + transName + ";");

            stream.WriteLine();
        }
 public override void ExplicitVisit(DenyStatement fragment)
 {
     _fragments.Add(fragment);
 }
Пример #4
0
        public virtual void VisitDenyStatement(DenyStatement test)
        {
            string state = GetState();
            if (state == null)
                throw new MalformedFSMException("Interface Test Deny found outside of state block", test.line);

            stream.WriteLine("\t\tFSM_INIT_INTERFACEDENY(" + ClassName + ", " + GetState() + ", " + test.name + ");");

            stream.WriteLine();
        }