示例#1
0
 public NodeStatementSyntax(
     NodeIdentifierSyntax identifier,
     params AttributeSyntax[] attributes)
     : this(
         identifier,
         (IEnumerable <AttributeSyntax>)attributes)
 {
 }
示例#2
0
 public NodeStatementSyntax(
     NodeIdentifierSyntax identifier)
     : this(
         identifier,
         null,
         SyntaxToken.Invalid,
         isParsed : false)
 {
 }
示例#3
0
 public NodeStatementSyntax(
     NodeIdentifierSyntax identifier,
     AttributeListSyntax?attributes)
     : this(
         identifier,
         attributes,
         SyntaxToken.Invalid,
         isParsed : false)
 {
 }
示例#4
0
 internal NodeStatementSyntax(
     NodeIdentifierSyntax identifier,
     AttributeListSyntax?attributes,
     SyntaxToken terminatingSemicolonToken,
     bool isParsed)
     : base(terminatingSemicolonToken, isParsed)
 {
     Identifier = identifier;
     Attributes = attributes;
 }
示例#5
0
 public NodeStatementSyntax(
     NodeIdentifierSyntax identifier,
     IEnumerable <AttributeSyntax>?attributes)
     : this(
         identifier,
         attributes is null
             ? null
         : new AttributeListSyntax(attributes),
         SyntaxToken.Invalid,
         isParsed : false)
 {
 }