public CommandSetTextureCombineBinaryValueSyntax(CommandSetTextureCombineSourceSyntax source1, SyntaxToken operatorToken, CommandSetTextureCombineSourceSyntax source2)
     : base(SyntaxKind.CommandSetTextureCombineBinaryValue)
 {
     RegisterChildNode(out Source1, source1);
     RegisterChildNode(out OperatorToken, operatorToken);
     RegisterChildNode(out Source2, source2);
 }
Beispiel #2
0
 public CommandSetTextureCombineMultiplyAlphaValueSyntax(CommandSetTextureCombineSourceSyntax source1, SyntaxToken asteriskToken, CommandSetTextureCombineSourceSyntax source2, SyntaxToken plusToken, CommandSetTextureCombineSourceSyntax source3)
     : base(SyntaxKind.CommandSetTextureCombineMultiplyAlphaValue)
 {
     RegisterChildNode(out Source1, source1);
     RegisterChildNode(out AsteriskToken, asteriskToken);
     RegisterChildNode(out Source2, source2);
     RegisterChildNode(out PlusToken, plusToken);
     RegisterChildNode(out Source3, source3);
 }
Beispiel #3
0
 public CommandSetTextureCombineLerpValueSyntax(CommandSetTextureCombineSourceSyntax source1, SyntaxToken lerpKeyword, SyntaxToken openParenToken, CommandSetTextureCombineSourceSyntax source2, SyntaxToken closeParenToken, CommandSetTextureCombineSourceSyntax source3)
     : base(SyntaxKind.CommandSetTextureCombineLerpValue)
 {
     RegisterChildNode(out Source1, source1);
     RegisterChildNode(out LerpKeyword, lerpKeyword);
     RegisterChildNode(out OpenParenToken, openParenToken);
     RegisterChildNode(out Source2, source2);
     RegisterChildNode(out CloseParenToken, closeParenToken);
     RegisterChildNode(out Source3, source3);
 }
Beispiel #4
0
        private BaseCommandSetTextureCombineValueSyntax ParseUnitySetTextureCombineMultiplyAlphaValue(CommandSetTextureCombineSourceSyntax source1, SyntaxToken operatorToken, CommandSetTextureCombineSourceSyntax source2)
        {
            var plusToken = Match(SyntaxKind.PlusToken);
            var source3 = ParseUnitySetTextureCombineSource();

            return new CommandSetTextureCombineMultiplyAlphaValueSyntax(
                source1,
                operatorToken,
                source2,
                plusToken,
                source3);
        }
Beispiel #5
0
        private BaseCommandSetTextureCombineValueSyntax ParseUnitySetTextureCombineLerpValue(CommandSetTextureCombineSourceSyntax source1)
        {
            var lerpKeyword = Match(SyntaxKind.LerpKeyword);
            var openParenToken = Match(SyntaxKind.OpenParenToken);
            var source2 = ParseUnitySetTextureCombineSource();
            var closeParenToken = Match(SyntaxKind.CloseParenToken);
            var source3 = ParseUnitySetTextureCombineSource();

            return new CommandSetTextureCombineLerpValueSyntax(
                source1,
                lerpKeyword,
                openParenToken,
                source2,
                closeParenToken,
                source3);
        }
Beispiel #6
0
 public virtual void VisitCommandSetTextureCombineSource(CommandSetTextureCombineSourceSyntax node)
 {
     DefaultVisit(node);
 }
Beispiel #7
0
 public CommandSetTextureCombineUnaryValueSyntax(CommandSetTextureCombineSourceSyntax source)
     : base(SyntaxKind.CommandSetTextureCombineUnaryValue)
 {
     RegisterChildNode(out Source, source);
 }
Beispiel #8
0
 public virtual void VisitCommandSetTextureCombineSource(CommandSetTextureCombineSourceSyntax node)
 {
     DefaultVisit(node);
 }
Beispiel #9
0
        private BaseCommandSetTextureCombineValueSyntax ParseUnitySetTextureCombineMultiplyAlphaValue(CommandSetTextureCombineSourceSyntax source1, SyntaxToken operatorToken, CommandSetTextureCombineSourceSyntax source2)
        {
            var plusToken = Match(SyntaxKind.PlusToken);
            var source3   = ParseUnitySetTextureCombineSource();

            return(new CommandSetTextureCombineMultiplyAlphaValueSyntax(
                       source1,
                       operatorToken,
                       source2,
                       plusToken,
                       source3));
        }
Beispiel #10
0
        private BaseCommandSetTextureCombineValueSyntax ParseUnitySetTextureCombineLerpValue(CommandSetTextureCombineSourceSyntax source1)
        {
            var lerpKeyword     = Match(SyntaxKind.LerpKeyword);
            var openParenToken  = Match(SyntaxKind.OpenParenToken);
            var source2         = ParseUnitySetTextureCombineSource();
            var closeParenToken = Match(SyntaxKind.CloseParenToken);
            var source3         = ParseUnitySetTextureCombineSource();

            return(new CommandSetTextureCombineLerpValueSyntax(
                       source1,
                       lerpKeyword,
                       openParenToken,
                       source2,
                       closeParenToken,
                       source3));
        }