コード例 #1
0
ファイル: SearchProgram.cs プロジェクト: jblomer/GrGen.NET
 public GetCandidateByIterationParallelSetup(
     GetCandidateByIterationType type,
     string patternElementName,
     string indexName,
     string indexIterationType,
     string indexSetType,
     IndexAccessType indexAccessType,
     string from,
     bool fromIncluded,
     string to,
     bool toIncluded,
     bool isNode,
     string rulePatternClassName,
     string patternName,
     string[] parameterNames,
     bool wasIndependentInlined,
     bool emitProfiling,
     string packagePrefixedActionName,
     bool emitFirstLoopProfiling)
 {
     Debug.Assert(type == GetCandidateByIterationType.IndexElements);
     Type = type;
     PatternElementName = patternElementName;
     IndexName = indexName;
     IterationType = indexIterationType;
     IndexSetType = indexSetType;
     Debug.Assert(indexAccessType == IndexAccessType.Ascending || indexAccessType == IndexAccessType.Descending);
     IndexAccessType = indexAccessType;
     IndexFrom = from;
     IndexFromIncluded = fromIncluded;
     IndexTo = to;
     IndexToIncluded = toIncluded;
     IsNode = isNode;
     RulePatternClassName = rulePatternClassName;
     PatternName = patternName;
     ParameterNames = parameterNames;
     WasIndependentInlined = wasIndependentInlined;
     EmitProfiling = emitProfiling;
     PackagePrefixedActionName = packagePrefixedActionName;
     EmitFirstLoopProfiling = emitFirstLoopProfiling;
 }
コード例 #2
0
ファイル: SearchProgram.cs プロジェクト: jblomer/GrGen.NET
 public GetCandidateByIterationParallel(
     GetCandidateByIterationType type,
     string patternElementName,
     string indexName,
     string indexIterationType,
     string indexSetType,
     IndexAccessType indexAccessType,
     string equality,
     bool isNode,
     bool emitProfiling,
     string packagePrefixedActionName,
     bool emitFirstLoopProfiling)
 {
     Debug.Assert(type == GetCandidateByIterationType.IndexElements);
     Type = type;
     PatternElementName = patternElementName;
     IndexName = indexName;
     IterationType = indexIterationType;
     IndexSetType = indexSetType;
     Debug.Assert(indexAccessType == IndexAccessType.Equality);
     IndexAccessType = indexAccessType;
     IndexEqual = equality;
     IsNode = isNode;
     EmitProfiling = emitProfiling;
     PackagePrefixedActionName = packagePrefixedActionName;
     EmitFirstLoopProfiling = emitFirstLoopProfiling;
 }
コード例 #3
0
ファイル: SearchProgram.cs プロジェクト: jblomer/GrGen.NET
 public GetCandidateByIterationParallelSetup(
     GetCandidateByIterationType type,
     string patternElementName,
     string indexName,
     string indexIterationType,
     string indexSetType,
     IndexAccessType indexAccessType,
     string equality,
     bool isNode,
     string rulePatternClassName,
     string patternName,
     string[] parameterNames,
     bool wasIndependentInlined,
     bool emitProfiling,
     string packagePrefixedActionName,
     bool emitFirstLoopProfiling)
 {
     Debug.Assert(type == GetCandidateByIterationType.IndexElements);
     Type = type;
     PatternElementName = patternElementName;
     IndexName = indexName;
     IterationType = indexIterationType;
     IndexSetType = indexSetType;
     Debug.Assert(indexAccessType == IndexAccessType.Equality);
     IndexAccessType = indexAccessType;
     IndexEqual = equality;
     IsNode = isNode;
     RulePatternClassName = rulePatternClassName;
     PatternName = patternName;
     ParameterNames = parameterNames;
     WasIndependentInlined = wasIndependentInlined;
     EmitProfiling = emitProfiling;
     PackagePrefixedActionName = packagePrefixedActionName;
     EmitFirstLoopProfiling = emitFirstLoopProfiling;
 }
コード例 #4
0
ファイル: SearchProgram.cs プロジェクト: jblomer/GrGen.NET
 public GetCandidateByIteration(
     GetCandidateByIterationType type,
     string patternElementName,
     string indexName,
     string indexIterationType,
     string indexSetType,
     IndexAccessType indexAccessType,
     string from,
     bool fromIncluded,
     string to,
     bool toIncluded,
     bool isNode,
     bool parallel,
     bool emitProfiling,
     string packagePrefixedActionName,
     bool emitFirstLoopProfiling)
 {
     Debug.Assert(type == GetCandidateByIterationType.IndexElements);
     Type = type;
     PatternElementName = patternElementName;
     IndexName = indexName;
     IterationType = indexIterationType;
     IndexSetType = indexSetType;
     Debug.Assert(indexAccessType == IndexAccessType.Ascending || indexAccessType == IndexAccessType.Descending);
     IndexAccessType = indexAccessType;
     IndexFrom = from;
     IndexFromIncluded = fromIncluded;
     IndexTo = to;
     IndexToIncluded = toIncluded;
     IsNode = isNode;
     Parallel = parallel;
     EmitProfiling = emitProfiling;
     PackagePrefixedActionName = packagePrefixedActionName;
     EmitFirstLoopProfiling = emitFirstLoopProfiling;
 }