Using Sun WorkShop

Focus Options

The focus options listed in Table D-3 limit your search to specific classes of code, such as particular programs, functions, or libraries.


sbquery focus_option symbol

Table D-3 Focus Options

Focus Option 

Description 

-in_program program

Limit query to matches in program.

-in_directory directory

Limit query to matches in directory.

-in_source_file source_file

Limit query to matches in source_file.

-in_function function

Limit query to matches in function.

-in_class class

Limit query to matches in class.

-in_template template

Limit query to matches in template.

-in_language language

Limit query to matches in language.


Note -

If you include two or more focus options, a match is returned if it is found with any of the supplied focus options.