Rev | Line | |
---|
[14727] | 1 | using System;
|
---|
| 2 |
|
---|
| 3 | namespace HeuristicLab.Problems.ProgramSynthesis.Push.Attributes {
|
---|
| 4 | using HeuristicLab.Problems.ProgramSynthesis.Push.Stack;
|
---|
| 5 |
|
---|
| 6 | [AttributeUsage(AttributeTargets.Class)]
|
---|
| 7 | public class PushExpressionAttribute : Attribute {
|
---|
[14834] | 8 | public readonly StackTypes StackType;
|
---|
[14777] | 9 | public readonly StackTypes AdditionalStackDependencies;
|
---|
[14727] | 10 | public readonly string ExpressionName;
|
---|
| 11 |
|
---|
[14834] | 12 | public PushExpressionAttribute(StackTypes stackType, string expressionName, StackTypes additionalStackDependencies = default(StackTypes)) {
|
---|
[14908] | 13 | StackType = stackType;
|
---|
| 14 | AdditionalStackDependencies = additionalStackDependencies;
|
---|
| 15 | ExpressionName = expressionName;
|
---|
[14727] | 16 | }
|
---|
| 17 | }
|
---|
| 18 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.