YaST2 base package |
modules/ValueBrowser.ycp |
| Useful tool for viewing any variable contents. | |
|
|
|
This module has an unstable interface. |
Info:
- Example
-
map a = $[ "first" : 35, "second" : [ 1, 2, 3, 4, 5], "third" : $[ "a" : 15, `b: `VBox () ] ]; ValueBrowser::Tree (a);
global
escapestring (string s)
->
string
Helper function that replaces all ocurences of "\n" with "\\n", so items are not multiline :-)
- Parameters:
-
s string to escape
- Return value:
-
escaped string
local
FormatSimpleType (any variable, string indent)
->
string
Shows tree with contents of variable. This function does the job. Heavy recursion...
- Parameters:
-
variable variable to show. indent string that is printed before each output.
global
BrowseTreeHelper (any variable, string indent)
->
term
Shows tree with contents of variable. This function does the job. Heavy recursion...
- Parameters:
-
variable variable to show. indent string that is printed before each output.
global
BrowseTree (any variable)
->
void
Shows tree with contents of variable.
- Parameters:
-
variable variable to show.
global
DebugBrowseHelper (any variable, string indent)
->
void
Write contents of variable to log file. This function does the job. Heavy recursion...
- Parameters:
-
variable variable to show. indent string that is printed before each output.
global
DebugBrowse (any variable)
->
void
Write contents of variable to log file.
- Parameters:
-
variable variable to show.