Ejemplo n.º 1
0
        protected override void GenerateConstructor(Node node, StreamWriter stream, string indent, string className)
        {
            base.GenerateConstructor(node, stream, indent, className);

            DecoratorLoopUntil decoratorLoopUntil = node as DecoratorLoopUntil;

            Debug.Check(decoratorLoopUntil != null);

            stream.WriteLine("{0}\t\t\tm_until = {1};", indent, decoratorLoopUntil.Until ? "true" : "false");
        }
        protected override bool ShouldGenerateClass(Node node)
        {
            DecoratorLoopUntil decoratorLoopUntil = node as DecoratorLoopUntil;

            return(decoratorLoopUntil != null);
        }