Class Index | File Index

Classes


Class Lexicon


Extends BaseBajaObj.
Lexicon is a map of name/value pairs for a specific locale.
Defined in: sys.js.

Class Summary
Constructor Attributes Constructor Name and Description
<inner>  
Method Summary
Method Attributes Method Name and Description
 
get(obj)
Return a value from the Lexicon for a given key.
 
Return the Lexicon's module name.
Methods borrowed from class BaseBajaObj:
equals, valueOf
Class Detail
<inner> Lexicon()
See:
baja.lex
Method Detail
{String} get(obj)
Return a value from the Lexicon for a given key.

The argument for this method can be either a String key or an Object Literal.

Parameters:
{Object|String} obj
the Object Literal that contains the method's arguments or a String key.
{String} obj.key
the key to look up.
{String} obj.def
the default value to return if the key can't be found. By default this is null.
{Array|String} obj.args
arguments used for String formatting.
Returns:
{String} the value for the Lexicon or return def if can't be found.
See:
baja.lex

{String} getModuleName()
Return the Lexicon's module name.
Returns:
{String}

Documentation generated by JsDoc Toolkit 2.3.2