示例#1
0
 public void AddElementNode(ASTNodeType element)
 {
     element.SetParent(this);
     this.elements.Add(element);
 }
示例#2
0
 public void SetTypeNode(ASTNodeType type)
 {
     type.SetParent(this);
     this.AddSpan(type.GetSpan());
     this.type = type;
 }
示例#3
0
 public void SetTypeNode(ASTNodeType type)
 {
     type.SetParent(this);
     this.AddSpan(type.GetSpan());
     this.type = type;
 }
示例#4
0
 public void SetReturnType(ASTNodeType returnType)
 {
     returnType.SetParent(this);
     this.returnType = returnType;
 }
示例#5
0
 public void AddParameterType(ASTNodeType parameterType)
 {
     parameterType.SetParent(this);
     this.parameters.Add(parameterType);
 }
示例#6
0
 public void SetTypeNode(ASTNodeType type)
 {
     type.SetParent(this);
     this.type = type;
 }
示例#7
0
 public void SetTypeNode(ASTNodeType type)
 {
     type.SetParent(this);
     this.type = type;
 }
示例#8
0
 public void SetReturnTypeNode(ASTNodeType retType)
 {
     retType.SetParent(this);
     this.AddSpan(retType.GetSpan());
     this.returnType = retType;
 }
示例#9
0
 public void AddElementNode(ASTNodeType element)
 {
     element.SetParent(this);
     this.elements.Add(element);
 }
示例#10
0
 public void SetReturnType(ASTNodeType returnType)
 {
     returnType.SetParent(this);
     this.returnType = returnType;
 }
示例#11
0
 public void AddParameterType(ASTNodeType parameterType)
 {
     parameterType.SetParent(this);
     this.parameters.Add(parameterType);
 }
示例#12
0
 public void SetReferencedNode(ASTNodeType referenced)
 {
     referenced.SetParent(this);
     this.AddSpan(referenced.GetSpan());
     this.referenced = referenced;
 }