C# Class OnlineVideos.JavaScript.JavaScriptParser

Datei anzeigen Open project: offbyoneBB/mp-onlinevideos2 Class Usage Examples

Public Methods

Method Description
JavaScriptParser ( string javaScript ) : System
Parse ( ) : OnlineVideos.JavaScript.FunctionData

Private Methods

Method Description
CheckLineForSplitOrJoin ( string line, string functionParameter ) : bool
FindFunctionBody ( string signatureMethodName, string jsContent ) : string[]
FindObjectBody ( string objectName, string jsContent ) : string
FindSignatureFunctionName ( string jsContent ) : string
GetObjectBodies ( List objectNames ) : List
GetObjectNames ( string functionBody, string functionParameter ) : List

Method Details

JavaScriptParser() public method

public JavaScriptParser ( string javaScript ) : System
javaScript string
return System

Parse() public method

public Parse ( ) : OnlineVideos.JavaScript.FunctionData
return OnlineVideos.JavaScript.FunctionData