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); }
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); }
public TypeAliasSyntax(SyntaxToken identifier, List <ArrayRankSpecifierSyntax> arrayRankSpecifiers, List <VariableDeclaratorQualifierSyntax> qualifiers, AnnotationsSyntax annotations) : base(SyntaxKind.TypeAlias) { RegisterChildNode(out Identifier, identifier); RegisterChildNodes(out ArrayRankSpecifiers, arrayRankSpecifiers); RegisterChildNodes(out Qualifiers, qualifiers); RegisterChildNode(out Annotations, annotations); }