示例#1
0
 public MethodTreeNode(ISourceOrigin sourceOrigin, string returnType, string containingClass)
     : base(sourceOrigin)
 {
     ReturnType = returnType;
     ContainingClass = containingClass;
     Overloads = new List<MethodTreeNode>();
     Parameters = new List<MethodParameter>();
 }
        private int endLine = -1; // forces generated endline if not set

        #endregion Fields

        #region Constructors

        protected AbstractTreeNode(ISourceOrigin sourceOrigin)
        {
            this.sourceOrigin = sourceOrigin;
            this.name = sourceOrigin.Name;
            children = new ParseTreeNodeSet(this);
        }
 public NamespaceDeclarationTreeNode(ISourceOrigin sourceOrigin)
     : base(sourceOrigin)
 {
 }
 public ValueTypeTreeNode(ISourceOrigin sourceOrigin, string fullName)
     : base(sourceOrigin, fullName)
 {
 }
 protected TypeDeclarationTreeNode(ISourceOrigin sourceOrigin, string fullName)
     : base(sourceOrigin)
 {
     this.fullName = fullName;
 }
 public NamespaceTreeNode(ISourceOrigin sourceOrigin)
     : base(sourceOrigin)
 {
 }
 public ReferencedNamespaceTreeNode(ISourceOrigin sourceOrigin)
     : base(sourceOrigin)
 {
 }
 public PropertyTreeNode(ISourceOrigin sourceOrigin)
     : base(sourceOrigin)
 {
 }
 public ImportedNamespaceTreeNode(ISourceOrigin sourceOrigin)
     : base(sourceOrigin)
 {
 }
 public InterfaceTreeNode(ISourceOrigin sourceOrigin, string fullName)
     : base(sourceOrigin, fullName)
 {
 }
 protected InstanceDeclarationTreeNode(ISourceOrigin sourceOrigin)
     : base(sourceOrigin)
 {
 }
示例#12
0
 public MethodTreeNode(ISourceOrigin sourceOrigin, string returnType, string containingClass)
     : base(sourceOrigin)
 {
     this.returnType = returnType;
     this.containingClass = containingClass;
 }
示例#13
0
 public ClassTreeNode(ISourceOrigin sourceOrigin, string fullName)
     : base(sourceOrigin, fullName)
 {
 }
示例#14
0
 public DocumentTreeNode(ISourceOrigin sourceOrigin, string fileName)
     : base(sourceOrigin)
 {
     this.fileName = fileName;
 }
示例#15
0
 public TryTreeNode(ISourceOrigin sourceOrigin)
     : base(sourceOrigin)
 {
 }