Пример #1
0
        public bool BuildDeclarations(string cppFilePath)
        {
            DeclarationList d = DeclarationList.Construct(cppFilePath);

            if (d != null)
            {
                m_declarations.Add(d);
            }
            return(d != null);
        }
Пример #2
0
        public bool BuildDeclarations(string cppFilePath, List <string> preprocessorDefines)
        {
            DeclarationList d = DeclarationList.Construct(cppFilePath, preprocessorDefines);

            if (d != null)
            {
                m_declarations.Add(d);
            }
            return(d != null);
        }