(クラス)
Class that handles CPA compilation options.
説明
This base class declares the nonlocal options for controlling optional CPA analysis.
Options are looked up in the following objects in order:
- the package
- the package's library
- the library's preferences
- the session
Options set directly in the package or library originate from package/manifest meta-data declarations, where the option name is prefixed with
cpa-, e.g.:
{package MY-TEST-PACKAGE,
|| Test packages don't need to be localized.
cpa-detect-unlocalized-strings? = false
}
Options set in the session or library preferences object must be set explicitly based on UI preference changes.
非ローカル オプション public CPAOptionable.analyze-doc-strings?:
bool
非ローカル オプション public CPAOptionable.detect-ignored-exceptions?:
bool
非ローカル オプション public CPAOptionable.detect-missing-components?:
bool
非ローカル オプション public CPAOptionable.detect-missing-doc-strings?:
bool
非ローカル オプション public CPAOptionable.detect-null-dereferences?:
bool
非ローカル オプション public CPAOptionable.detect-parameter-dependencies?:
bool
非ローカル オプション public CPAOptionable.detect-unlocalized-strings?:
bool
非ローカル オプション public CPAOptionable.detect-unused-arguments?:
bool
非ローカル オプション public CPAOptionable.detect-unused-values?:
bool
非ローカル オプション public CPAOptionable.detect-unused-variables?:
bool
非ローカル オプション public CPAOptionable.detect-useless-casts?:
bool
非ローカル オプション public CPAOptionable.disallow-doc-text?:
bool
非ローカル オプション public CPAOptionable.doc-path-regexp:
String
非ローカル オプション public CPAOptionable.file-close-characters:
int
非ローカル オプション public CPAOptionable.file-close-policy:
int
非ローカル オプション public CPAOptionable.max-doc-purpose-length:
int
非ローカル オプション public CPAOptionable.max-function-nodes:
int
非ローカル オプション public CPAOptionable.metrics-internal-scope:
String
options: | このオブジェクトのオプション リストが存在する場合はそれを参照します。 |
非ローカル オプション public CPAOptionable.require-doc-purpose?:
bool
非ローカル オプション public CPAOptionable.require-doc-signature?:
bool
非ローカル オプション public CPAOptionable.restrict-doc-clauses?:
bool
非ローカル オプション public CPAOptionable.target-arch:
String
target-os: | Override behavior of platform-switch. |
非ローカル オプション public CPAOptionable.target-os:
String
非ローカル オプション public CPAOptionable.test-path-regexp:
String
非ローカル オプション public CPAOptionable.validate-docrefs?:
bool
public | {CPAOptionable.get-options}:{Iterator-of Option} |
protected final | {CPAOptionable.update-cpa-options-from-meta-data}:void |
public final | {CPAOptionable.update-option-by-name-from-string}:void |
メソッド 継承 OptionListInterface:
add-option, add-style-option, change-option-parent-notify, clone-options, get-option, get-option-by-name, keyword-init-arg, local-add-notify, local-remove-notify, name-to-option-key, new-option-item, notify-option-children, option-change-notify, option-changed, option-lookup, option-lookup-here, option-propagate-notify, option-set?, propagate-option-change, register-options, remove-option, remove-style-option, remove-styles, set-option-by-name, set-style-option-by-name, unset-option-by-name, unset-style-option-by-name
(非ローカル オプション)
public CPAOptionable.analyze-doc-strings?:
bool Should doc strings be analyzed?
説明
(非ローカル オプション)
public CPAOptionable.detect-ignored-exceptions?:
bool Detect caught and ignored exceptions
説明
(非ローカル オプション)
public CPAOptionable.detect-missing-components?:
bool Detect missing component files in manifest.
説明
(非ローカル オプション)
public CPAOptionable.detect-missing-doc-strings?:
bool Detect missing doc strings for public/protected members?
説明
(非ローカル オプション)
public CPAOptionable.detect-null-dereferences?:
bool Detect potential null dereferences
説明
(非ローカル オプション)
public CPAOptionable.detect-parameter-dependencies?:
bool Detect implicit assumptions in parameterized classes.
説明
(非ローカル オプション)
public CPAOptionable.detect-unlocalized-strings?:
bool Detect unlocalized strings?
説明
(非ローカル オプション)
public CPAOptionable.detect-unused-arguments?:
bool Detect unused function arguments?
説明
(非ローカル オプション)
public CPAOptionable.detect-unused-values?:
bool
(非ローカル オプション)
public CPAOptionable.detect-unused-variables?:
bool Detect unused local variables?
説明
(非ローカル オプション)
public CPAOptionable.detect-useless-casts?:
bool Detect useless explicit casts?
説明
(非ローカル オプション)
public CPAOptionable.disallow-doc-text?:
bool Detect top-level text in doc-strings?
説明
(非ローカル オプション)
public CPAOptionable.doc-path-regexp:
String Identifies documentation files.
説明
(非ローカル オプション)
public CPAOptionable.file-close-characters:
int File character threshold for file close policy
説明
(非ローカル オプション)
public CPAOptionable.file-close-policy:
int Determine when files should be closed to save memory.
説明
(非ローカル オプション)
public CPAOptionable.max-doc-purpose-length:
int Maximum number of characters in purpose clause in doc string.
説明
(非ローカル オプション)
public CPAOptionable.max-function-nodes:
int Maximum size of functions before producing warning.
説明
(非ローカル オプション)
public CPAOptionable.metrics-internal-scope:
String Scope to be used for computing dependency metrics.
説明
(アクセサ)
このオブジェクトのオプション リストが存在する場合はそれを参照します。
説明
(非ローカル オプション)
public CPAOptionable.require-doc-purpose?:
bool Detect missing purpose clause in doc strings
説明
(非ローカル オプション)
public CPAOptionable.require-doc-signature?:
bool Require signature clause in macro doc strings
説明
(非ローカル オプション)
public CPAOptionable.restrict-doc-clauses?:
bool Restrict docstring clauses
説明
(非ローカル オプション)
public CPAOptionable.target-arch:
String Override behavior of platform-switch.
説明
(非ローカル オプション)
public CPAOptionable.target-os:
String Override behavior of platform-switch.
説明
(非ローカル オプション)
public CPAOptionable.test-path-regexp:
String Identifies test files.
説明
(非ローカル オプション)
public CPAOptionable.validate-docrefs?:
bool
(クラスプロシージャ)
public | {CPAOptionable.get-options}:{Iterator-of Option} |
Lists currently supported CPA options.
(メソッド)
protected final | {CPAOptionable.update-cpa-options-from-meta-data}:void |
""
(メソッド)
public final | {CPAOptionable.update-option-by-name-from-string}:void |
Updates named option from a string.
説明
This sets or unsets the option with given
name from
value-str:
- If value-str is null, the option will be unset.
- If the option can take a String value, it will be set to the string.
- Otherwise value-str is expected to contain a literal Curl expression, which will be evaluated to produce the value.
This will throw an exception if there is no option
name or if the value type is not compatible with the option.