FlexReport for WinForms
C1.Report.ScriptEngine 名前空間 (C1.Report)
継承階層
C1.Report アセンブリ : C1.Report.ScriptEngine 名前空間
クラス
 クラス解説
クラス-------------------------------------------------------------------- Expression -------------------------------------------------------------------- a tree containing a parsed expression e.g. Expression expr = scriptEngine.Parse(strExpression); object val = expr.Evaluate(); --------------------------------------------------------------------
クラスContains extended information about parsed expression.
クラス 
クラスExtends the ReportScriptContextBase class to recognizing the following custom objects: - database fields of C1.Report.FlexReport - report objects (fields, sections, groups) - custom variables: Page
クラスBase class for all script contexts in the report, implements the caching of objects requested via GetObjectByName(...).
クラスProvides information about called script
クラス-------------------------------------------------------------------- ScriptEngine -------------------------------------------------------------------- ScriptEngine parses strings and returns Expression or Statement objects that can be evaluated/executed. The base class provides only simple expression evaluation. For most practical applications, you will need to add variables and custom objects to the engine, so scripts can assign values etc. To do this, you should derive a new class from ScriptEngine and override the following member: public virtual object GetObjectByName(string strName) This function should return an object. The object can be a simple value type (e.g. "pi" returns 3.14), or an object with properties and methods (e.g. myobj.Left). To allow getting and setting the default property, the object must implement a property called "Value" (e.g. myobj = 12 is the same as myobj.Value = 12). This class has two main members: - ParseExpression(str) returns an Expression object that can be evaluated very quickly. This returns a value (object type). - ParseStatement(str) returns a Statement object that can be executed. This does not return anything. It also has two useful helpers: - Evaluate(str) parses the expression in str and evaluates it. - Execute(str) parses the statement in str and executes it. These helpers are convenient, but calling them repeatedly is slower than using the ParseExpression/ParseStatement and evaluating/executing the results (because the latter only parses once).
クラスRepresents the context in which script executed.
クラス-------------------------------------------------------------------- Statement -------------------------------------------------------------------- a sequence of parsed statements e.g. Statement stmt = scriptEngine.ParseStatemnt(strStatemtent); stmt.Execute(); --------------------------------------------------------------------
クラス 
構造体
 構造体解説
構造体-------------------------------------------------------------------- Token contains: -------------------------------------------------------------------- 1) the token id (+, -, *, etc) 2) the token type (binary operator, unary operator, fun, var, lit) 3) the token literal (Token, var name, lit value) --------------------------------------------------------------------
列挙型
 列挙体解説
列挙体Used in methods GetSubs, GetFunctions, GetProcedures to select only subs, functions or both
列挙体 
参照

参照

C1.Report アセンブリ