/// <summary> /// 三項演算子を表現する節を初期化します。 /// 引数を指定する順番に注意して下さい。 /// </summary> /// <param name="whenfalse"><paramref name="condition"/> の評価が false だった場合に評価する式指定します。</param> /// <param name="whentrue"><paramref name="condition"/> の評価が true だった場合に評価する式を指定します。</param> /// <param name="condition">条件を判定する式を指定します。</param> public TripleOperator(IScriptNode whenfalse, IScriptNode whentrue, IScriptNode condition) { this.condition = condition; this.whentrue = whentrue; this.whenfalse = whenfalse; }
public UnaryOperator(string operatorName, IScriptNode targetparam, bool postfix) { this.ope = operatorName; this.target = targetparam; this.post = postfix; }
public BinaryOperator(string operatorName, IScriptNode rightparam, IScriptNode leftparam) { this.op = operatorName; this.left = leftparam; this.right = rightparam; }
public MemberInvoke(IScriptNode[] arguments, IScriptNode obj) { this.obj = obj; this.args = arguments; }
public FunctionCall(IScriptNode[] arguments, IScriptNode obj) { this.obj = obj; this.args = arguments; }
/// <summary> /// Initializes a new instance of the <see cref="GlobalDefinitionNode"/> class. /// </summary> /// <param name="name">The name of the global.</param> /// <param name="type">The type of the global.</param> /// <param name="valueNode">The node representing the global's value.</param> public GlobalDefinitionNode(string name, string type, IScriptNode valueNode) { Name = name; Type = type; Value = valueNode; }
/// <summary> /// Initializes a new instance of the <see cref="GlobalDefinitionNode" /> class. /// </summary> /// <param name="name">The name of the global.</param> /// <param name="type">The type of the global.</param> /// <param name="valueNode">The node representing the global's value.</param> public GlobalDefinitionNode(string name, string type, IScriptNode valueNode) { Name = name; Type = type; Value = valueNode; }