3 * Copyright (C) 2008-2011 Florian Brosch
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 * Florian Brosch <flo.brosch@gmail.com>
24 using Valadoc
.Content
;
27 * Represents a generic type parameter in the source code.
29 public class Valadoc
.Api
.TypeParameter
: Symbol
{
31 public TypeParameter (Node parent
, SourceFile file
, string name
, Vala
.TypeParameter data
) {
32 base (parent
, file
, name
, SymbolAccessibility
.PUBLIC
, data
);
38 protected override Inline
build_signature () {
39 return new
SignatureBuilder ()
47 public override NodeType node_type
{ get { return NodeType
.TYPE_PARAMETER
; } }
52 public override void accept (Visitor visitor
) {
53 visitor
.visit_type_parameter (this
);
56 public override bool is_browsable (Settings settings
) {