KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > ruby > elements > AstVariableElement


1 package org.netbeans.modules.ruby.elements;
2
3 import org.jruby.ast.Node;
4 import org.netbeans.api.gsf.ElementKind;
5
6
7 public class AstVariableElement extends AstElement {
8     public AstVariableElement(Node node, String JavaDoc name) {
9         super(node);
10         this.name = name;
11     }
12
13     @Override JavaDoc
14     public String JavaDoc getName() {
15         return name;
16     }
17     
18     @Override JavaDoc
19     public ElementKind getKind() {
20         return ElementKind.VARIABLE;
21     }
22 }
23
Popular Tags