Package ats3 :: Module parsers :: Class BldFileParser
[hide private]
[frames] | no frames]

Class BldFileParser

source code

object --+
         |
        BldFileParser

Parser for bld.inf files. Returns MACRO values. Parsing Paths can be done using CPP parser

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
get_test_mmp_files(self, bld_file_path=None, with_full_path=True)
returns a list of test mmp files Usage: if "x:bcldfile", "PRJ_TESTMMPFILES".
source code
 
get_files(self, bld_inf_path, bld_macro, with_full_path=True)
Component's MMP files, as stored in BLD.INF.
source code
 
ignore_comments_from_input(self, input_str="")
Removes comments from the input string.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

get_test_mmp_files(self, bld_file_path=None, with_full_path=True)

source code 

returns a list of test mmp files Usage: if "x:bcldfile", "PRJ_TESTMMPFILES". 1. get_test_mmp_files("x:bcldfile") - with full paths e.g. ["x:bcbc.mmp"] 2. get_test_mmp_files("x:bcldfile", False) - without full paths e.g. ["abc.mmp"]

if bld file is not given, the function will try to find the file(s) on the given location with extension ".inf"

ignore_comments_from_input(self, input_str="")

source code 
Removes comments from the input string. Enables the use of examples in bld.inf.