Class Index | File Index

Classes


Class Lex

Represents Lexical Analyzer Object
Defined in: lex02.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Lex(src)
Lexical Analyzer Object
Method Summary
Method Attributes Method Name and Description
 
ch(cChar)
Given Character
 
Analyze Digit
 
Analyze Lower Case Character
 
sp()
Analyze Space
 
sq()
Analyze Single Quote
 
Analyze Upper Case Character
Class Detail
Lex(src)
Lexical Analyzer Object
Parameters:
{String} src
source string to analyze
Since:
0.1
Method Detail
{String} ch(cChar)
Given Character
Parameters:
{Char} cChar
given character
Since:
0.2
Returns:
{String} character if matched, null if not matched

{String} digit()
Analyze Digit
Since:
0.2
Returns:
{String} digit if matched, null if not matched

{String} lower()
Analyze Lower Case Character
Since:
0.2
Returns:
{String} character if matched, null if not matched

{String} sp()
Analyze Space
Since:
0.2
Returns:
{String} space if matched, null if not matched

{String} sq()
Analyze Single Quote
Since:
0.2
Returns:
{String} single quote if matched, null if not matched

{String} upper()
Analyze Upper Case Character
Since:
0.2
Returns:
{String} character if matched, null if not matched

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Jan 17 2014 11:04:56 GMT+0900 (JST)