當前位置: 首頁>>代碼示例>>C#>>正文


C# SyntaxTree.expression_list類代碼示例

本文整理匯總了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;
		}
開發者ID:lisiynos,項目名稱:pascalabcnet,代碼行數:10,代碼來源:Tree.cs

示例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;
        }
開發者ID:lisiynos,項目名稱:pascalabcnet,代碼行數:9,代碼來源:SemanticRules.cs

示例3: visit

		public void visit(expression_list _expression_list)
		{
			bw.Write((Int16)25);
			write_expression_list(_expression_list);
		}
開發者ID:Slav76,項目名稱:pascalabcnet,代碼行數:5,代碼來源:SyntaxTreeStreamWriter.cs

示例4: pascal_set_constant

		///<summary>
		///Конструктор с параметрами.
		///</summary>
		public pascal_set_constant(expression_list _values)
		{
			this._values=_values;
		}
開發者ID:lisiynos,項目名稱:pascalabcnet,代碼行數:7,代碼來源:Tree.cs

示例5: array_const

		///<summary>
		///Конструктор с параметрами.
		///</summary>
		public array_const(expression_list _elements)
		{
			this._elements=_elements;
		}
開發者ID:lisiynos,項目名稱:pascalabcnet,代碼行數:7,代碼來源:Tree.cs

示例6: method_call

		///<summary>
		///Конструктор с параметрами.
		///</summary>
		public method_call(expression_list _parameters)
		{
			this._parameters=_parameters;
		}
開發者ID:lisiynos,項目名稱:pascalabcnet,代碼行數:7,代碼來源:Tree.cs

示例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;
		}
開發者ID:lisiynos,項目名稱:pascalabcnet,代碼行數:9,代碼來源:Tree.cs

示例8: tuple_node_for_formatter

		///<summary>
		///Конструктор с параметрами.
		///</summary>
		public tuple_node_for_formatter(expression_list _el)
		{
			this._el=_el;
		}
開發者ID:lisiynos,項目名稱:pascalabcnet,代碼行數:7,代碼來源:Tree.cs

示例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;
		}
開發者ID:lisiynos,項目名稱:pascalabcnet,代碼行數:17,代碼來源:Tree.cs

示例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;
		}
開發者ID:lisiynos,項目名稱:pascalabcnet,代碼行數:10,代碼來源:Tree.cs

示例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;
		}
開發者ID:lisiynos,項目名稱:pascalabcnet,代碼行數:8,代碼來源:Tree.cs

示例12: indexer

		///<summary>
		///Конструктор с параметрами.
		///</summary>
		public indexer(expression_list _indexes)
		{
			this._indexes=_indexes;
		}
開發者ID:lisiynos,項目名稱:pascalabcnet,代碼行數:7,代碼來源:Tree.cs

示例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;
		}
開發者ID:lisiynos,項目名稱:pascalabcnet,代碼行數:8,代碼來源:Tree.cs

示例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);
 }
開發者ID:PascalABC-CompilerLaboratory,項目名稱:pascalabcnet,代碼行數:14,代碼來源:syntax_tree_visitor.cs

示例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);
					}
				}
			}
		}
開發者ID:Slav76,項目名稱:pascalabcnet,代碼行數:25,代碼來源:SyntaxTreeStreamWriter.cs


注:本文中的PascalABCCompiler.SyntaxTree.expression_list類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。