public static ForgedOnce.GlslLanguageServices.LanguageModels.Ast.StatementWhile WithCondition(this ForgedOnce.GlslLanguageServices.LanguageModels.Ast.StatementWhile subject, ForgedOnce.GlslLanguageServices.LanguageModels.Ast.Expression condition)
 {
     subject.Condition = condition;
     return(subject);
 }
Beispiel #2
0
 public static ForgedOnce.GlslLanguageServices.LanguageModels.Ast.StatementExpression WithExpression(this ForgedOnce.GlslLanguageServices.LanguageModels.Ast.StatementExpression subject, ForgedOnce.GlslLanguageServices.LanguageModels.Ast.Expression expression)
 {
     subject.Expression = expression;
     return(subject);
 }
 public static ForgedOnce.GlslLanguageServices.LanguageModels.Ast.ExpressionIndexAccess WithIndex(this ForgedOnce.GlslLanguageServices.LanguageModels.Ast.ExpressionIndexAccess subject, ForgedOnce.GlslLanguageServices.LanguageModels.Ast.Expression index)
 {
     subject.Index = index;
     return(subject);
 }
 public static ForgedOnce.GlslLanguageServices.LanguageModels.Ast.ExpressionIndexAccess WithLeft(this ForgedOnce.GlslLanguageServices.LanguageModels.Ast.ExpressionIndexAccess subject, ForgedOnce.GlslLanguageServices.LanguageModels.Ast.Expression left)
 {
     subject.Left = left;
     return(subject);
 }
 public static ForgedOnce.GlslLanguageServices.LanguageModels.Ast.ExpressionFieldSelection WithLeft(this ForgedOnce.GlslLanguageServices.LanguageModels.Ast.ExpressionFieldSelection subject, ForgedOnce.GlslLanguageServices.LanguageModels.Ast.Expression left)
 {
     subject.Left = left;
     return(subject);
 }
Beispiel #6
0
 public static ForgedOnce.GlslLanguageServices.LanguageModels.Ast.ArraySpecifier WithArraySizeExpression(this ForgedOnce.GlslLanguageServices.LanguageModels.Ast.ArraySpecifier subject, ForgedOnce.GlslLanguageServices.LanguageModels.Ast.Expression arraySizeExpression)
 {
     subject.ArraySizeExpression = arraySizeExpression;
     return(subject);
 }
Beispiel #7
0
 public static ForgedOnce.GlslLanguageServices.LanguageModels.Ast.ExpressionUnaryPostfix WithLeft(this ForgedOnce.GlslLanguageServices.LanguageModels.Ast.ExpressionUnaryPostfix subject, ForgedOnce.GlslLanguageServices.LanguageModels.Ast.Expression left)
 {
     subject.Left = left;
     return(subject);
 }
 public static ForgedOnce.GlslLanguageServices.LanguageModels.Ast.ExpressionUnary WithRight(this ForgedOnce.GlslLanguageServices.LanguageModels.Ast.ExpressionUnary subject, ForgedOnce.GlslLanguageServices.LanguageModels.Ast.Expression right)
 {
     subject.Right = right;
     return(subject);
 }
Beispiel #9
0
 public static ForgedOnce.GlslLanguageServices.LanguageModels.Ast.ExpressionConditional WithThen(this ForgedOnce.GlslLanguageServices.LanguageModels.Ast.ExpressionConditional subject, ForgedOnce.GlslLanguageServices.LanguageModels.Ast.Expression then)
 {
     subject.Then = then;
     return(subject);
 }
Beispiel #10
0
 public static ForgedOnce.GlslLanguageServices.LanguageModels.Ast.ExpressionConditional WithElse(this ForgedOnce.GlslLanguageServices.LanguageModels.Ast.ExpressionConditional subject, ForgedOnce.GlslLanguageServices.LanguageModels.Ast.Expression @else)
 {
     subject.Else = @else;
     return(subject);
 }
Beispiel #11
0
 public static ForgedOnce.GlslLanguageServices.LanguageModels.Ast.ExpressionSequence WithExpression(this ForgedOnce.GlslLanguageServices.LanguageModels.Ast.ExpressionSequence subject, ForgedOnce.GlslLanguageServices.LanguageModels.Ast.Expression expression)
 {
     subject.Expressions.Add(expression);
     return(subject);
 }
Beispiel #12
0
 public static ForgedOnce.GlslLanguageServices.LanguageModels.Ast.StatementFor WithIncrement(this ForgedOnce.GlslLanguageServices.LanguageModels.Ast.StatementFor subject, ForgedOnce.GlslLanguageServices.LanguageModels.Ast.Expression increment)
 {
     subject.Increment = increment;
     return(subject);
 }
Beispiel #13
0
 public static ForgedOnce.GlslLanguageServices.LanguageModels.Ast.ExpressionFunctionCall WithParameter(this ForgedOnce.GlslLanguageServices.LanguageModels.Ast.ExpressionFunctionCall subject, ForgedOnce.GlslLanguageServices.LanguageModels.Ast.Expression parameter)
 {
     subject.Parameters.Add(parameter);
     return(subject);
 }
 public static ForgedOnce.GlslLanguageServices.LanguageModels.Ast.VariableDeclaration WithInitializer(this ForgedOnce.GlslLanguageServices.LanguageModels.Ast.VariableDeclaration subject, ForgedOnce.GlslLanguageServices.LanguageModels.Ast.Expression initializer)
 {
     subject.Initializer = initializer;
     return(subject);
 }
Beispiel #15
0
 public static ForgedOnce.GlslLanguageServices.LanguageModels.Ast.ExpressionParenGroup WithContent(this ForgedOnce.GlslLanguageServices.LanguageModels.Ast.ExpressionParenGroup subject, ForgedOnce.GlslLanguageServices.LanguageModels.Ast.Expression content)
 {
     subject.Content = content;
     return(subject);
 }