示例#1
0
 public IdentifierNameExpressionNode(KSyntaxToken identifier)
 {
     Kind       = KSyntaxKind.IdentifierNameExpression;
     Identifier = identifier;
 }
示例#2
0
 public EqualsValueClauseNode WithIsKeyword(KSyntaxToken isToken)
 {
     isToken.Parent = this;
     IsToken        = isToken;
     return(this);
 }
示例#3
0
 public LiteralExpressionNode(KSyntaxKind kind, KSyntaxToken token)
 {
     Kind  = kind;
     Token = token;
 }
示例#4
0
 public FieldDeclarationNode WithPeriod(KSyntaxToken period)
 {
     period.Parent = this;
     PeriodToken   = period;
     return(this);
 }
示例#5
0
 public PredefinedTypeNode WithKeyword(KSyntaxToken keyword)
 {
     keyword.Parent = this;
     Keyword        = keyword;
     return(this);
 }
示例#6
0
 public VariableDeclaratorNode WithIdentifier(KSyntaxToken identifier)
 {
     identifier.Parent = this;
     Identifier        = identifier;
     return(this);
 }
示例#7
0
 public ArgumentListNode WithCloseParenToken(KSyntaxToken closeParentToken)
 {
     closeParentToken.Parent = this;
     CloseParenToken         = closeParentToken;
     return(this);
 }
示例#8
0
 public ArgumentListNode WithOpenParenToken(KSyntaxToken openParentToken)
 {
     openParentToken.Parent = this;
     OpenParenToken         = openParentToken;
     return(this);
 }
示例#9
0
 public AssignmentExpressionNode WithTo(KSyntaxToken token)
 {
     token.Parent = this;
     To           = token;
     return(this);
 }