Boo.Lang.Compiler.Steps.BindAndApplyAttributes.BindAndApply C# (CSharp) 메소드

BindAndApply() 공개 메소드

public BindAndApply ( ) : bool
리턴 bool
        public bool BindAndApply()
        {
            Visit(CompileUnit);
            if (_tasks.Count == 0)
            {
                return false;
            }
            _tasks.Flush();
            return true;
        }

Usage Example

예제 #1
0
        private bool ApplyAttributesAndExpandMacros()
        {
            bool attributesApplied = _attributes.BindAndApply();
            bool macrosExpanded    = _macroExpander.ExpandAll();

            return(attributesApplied || macrosExpanded);
        }