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