Exemplo n.º 1
0
 public PassSyntax(SyntaxToken passKeyword, SyntaxToken name, AnnotationsSyntax annotations, SyntaxToken openBraceToken, List <StatementSyntax> statements, SyntaxToken closeBraceToken)
     : base(SyntaxKind.PassDeclaration)
 {
     RegisterChildNode(out PassKeyword, passKeyword);
     RegisterChildNode(out Name, name);
     RegisterChildNode(out Annotations, annotations);
     RegisterChildNode(out OpenBraceToken, openBraceToken);
     RegisterChildNodes(out Statements, statements);
     RegisterChildNode(out CloseBraceToken, closeBraceToken);
 }
Exemplo n.º 2
0
 public TechniqueSyntax(SyntaxToken techniqueKeyword, SyntaxToken name, AnnotationsSyntax annotations, SyntaxToken openBraceToken, List <PassSyntax> passes, SyntaxToken closeBraceToken, SyntaxToken semicolonToken)
     : base(SyntaxKind.TechniqueDeclaration)
 {
     RegisterChildNode(out TechniqueKeyword, techniqueKeyword);
     RegisterChildNode(out Name, name);
     RegisterChildNode(out Annotations, annotations);
     RegisterChildNode(out OpenBraceToken, openBraceToken);
     RegisterChildNodes(out Passes, passes);
     RegisterChildNode(out CloseBraceToken, closeBraceToken);
     RegisterChildNode(out SemicolonToken, semicolonToken);
 }
Exemplo n.º 3
0
 public VariableDeclaratorSyntax(SyntaxToken identifier, List <ArrayRankSpecifierSyntax> arrayRankSpecifiers, List <VariableDeclaratorQualifierSyntax> qualifiers, AnnotationsSyntax annotations, InitializerSyntax initializer)
     : base(SyntaxKind.VariableDeclarator)
 {
     RegisterChildNode(out Identifier, identifier);
     RegisterChildNodes(out ArrayRankSpecifiers, arrayRankSpecifiers);
     RegisterChildNodes(out Qualifiers, qualifiers);
     RegisterChildNode(out Annotations, annotations);
     RegisterChildNode(out Initializer, initializer);
 }