本文整理汇总了C#中PascalABCCompiler.SyntaxTree.expression_list类的典型用法代码示例。如果您正苦于以下问题:C# expression_list类的具体用法?C# expression_list怎么用?C# expression_list使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
expression_list类属于PascalABCCompiler.SyntaxTree命名空间,在下文中一共展示了expression_list类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: new_expr
///<summary>
///Конструктор с параметрами.
///</summary>
public new_expr(type_definition _type,expression_list _params_list,bool _new_array,array_const _array_init_expr)
{
this._type=_type;
this._params_list=_params_list;
this._new_array=_new_array;
this._array_init_expr=_array_init_expr;
}
示例2: NewFactor
public function_lambda_call NewFactor(ident func_decl_lambda, expression_list expr_list, LexLocation loc)
{
var fld = parsertools.find_pascalABC_lambda_name(func_decl_lambda.name);
var _expression_list = expr_list;
var _lambda_definition = fld;
var _lambda_call = new function_lambda_call(_lambda_definition, _expression_list, loc);
_lambda_call.source_context = func_decl_lambda.source_context;
return _lambda_call;
}
示例3: visit
public void visit(expression_list _expression_list)
{
bw.Write((Int16)25);
write_expression_list(_expression_list);
}
示例4: pascal_set_constant
///<summary>
///Конструктор с параметрами.
///</summary>
public pascal_set_constant(expression_list _values)
{
this._values=_values;
}
示例5: array_const
///<summary>
///Конструктор с параметрами.
///</summary>
public array_const(expression_list _elements)
{
this._elements=_elements;
}
示例6: method_call
///<summary>
///Конструктор с параметрами.
///</summary>
public method_call(expression_list _parameters)
{
this._parameters=_parameters;
}
示例7: function_lambda_call
///<summary>
///Конструктор с параметрами.
///</summary>
public function_lambda_call(function_lambda_definition _f_lambda_def,expression_list _parameters,SourceContext sc)
{
this._f_lambda_def=_f_lambda_def;
this._parameters=_parameters;
source_context = sc;
}
示例8: tuple_node_for_formatter
///<summary>
///Конструктор с параметрами.
///</summary>
public tuple_node_for_formatter(expression_list _el)
{
this._el=_el;
}
示例9: function_lambda_definition
///<summary>
///Конструктор с параметрами.
///</summary>
public function_lambda_definition(ident_list _ident_list,type_definition _return_type,formal_parameters _formal_parameters,statement _proc_body,procedure_definition _proc_definition,expression_list _parameters,string _lambda_name,List<declaration> _defs,LambdaVisitMode _lambda_visit_mode,syntax_tree_node _substituting_node,SourceContext sc)
{
this._ident_list=_ident_list;
this._return_type=_return_type;
this._formal_parameters=_formal_parameters;
this._proc_body=_proc_body;
this._proc_definition=_proc_definition;
this._parameters=_parameters;
this._lambda_name=_lambda_name;
this._defs=_defs;
this._lambda_visit_mode=_lambda_visit_mode;
this._substituting_node=_substituting_node;
source_context = sc;
}
示例10: attribute
///<summary>
///Конструктор с параметрами.
///</summary>
public attribute(ident _qualifier,named_type_reference _type,expression_list _arguments,SourceContext sc)
{
this._qualifier=_qualifier;
this._type=_type;
this._arguments=_arguments;
source_context = sc;
}
示例11: with_statement
///<summary>
///Конструктор с параметрами.
///</summary>
public with_statement(statement _what_do,expression_list _do_with)
{
this._what_do=_what_do;
this._do_with=_do_with;
}
示例12: indexer
///<summary>
///Конструктор с параметрами.
///</summary>
public indexer(expression_list _indexes)
{
this._indexes=_indexes;
}
示例13: case_variant
///<summary>
///Конструктор с параметрами.
///</summary>
public case_variant(expression_list _conditions,statement _exec_if_true)
{
this._conditions=_conditions;
this._exec_if_true=_exec_if_true;
}
示例14: visit
public override void visit(matching_expression _matching_expression)
{
SyntaxTree.procedure_call pc = new SyntaxTree.procedure_call();
SyntaxTree.method_call mc = new SyntaxTree.method_call();
dot_node dot = new dot_node(new ident("PABCSystem"), new ident("KV"));
mc.dereferencing_value = dot;
pc.func_name = mc;
pc.source_context = _matching_expression.source_context;
SyntaxTree.expression_list exl = new PascalABCCompiler.SyntaxTree.expression_list();
exl.Add(_matching_expression.left);
exl.Add(_matching_expression.right);
mc.parameters = exl;
visit(pc);
}
示例15: write_expression_list
public void write_expression_list(expression_list _expression_list)
{
write_syntax_tree_node(_expression_list);
if (_expression_list.expressions == null)
{
bw.Write((byte)0);
}
else
{
bw.Write((byte)1);
bw.Write(_expression_list.expressions.Count);
for(Int32 ssyy_i = 0; ssyy_i < _expression_list.expressions.Count; ssyy_i++)
{
if (_expression_list.expressions[ssyy_i] == null)
{
bw.Write((byte)0);
}
else
{
bw.Write((byte)1);
_expression_list.expressions[ssyy_i].visit(this);
}
}
}
}