1 | package org.eclipse.jdt.core.dom.scope; |
---|---|
2 | |
3 | public class ASTDefineNode { |
4 | |
5 | public enum DefineType { |
6 | VarDefine, |
7 | SelectorVarDefine, |
8 | FuncDeclDefine, |
9 | TypeSpecDefine, |
10 | ImportDefine, |
11 | StructAssignValueDefine, |
12 | EnumDeclDefine |
13 | } |
14 | |
15 | public String identName; |
16 | public String identTypeName; // define type of name |
17 | public DefineType defineType; |
18 | public ASTScope nodeScope; |
19 | public ASTPosition astPosistion; |
20 | // for ref count, will set value when adding define not to scope |
21 | // format: pkgpath:pkg:definepath |
22 | public String defineKey; |
23 | |
24 | public ASTDefineNode(String identName, String identTypeName, DefineType defineType, ASTScope nodeScope, |
25 | ASTPosition astPos) { |
26 | this.identName = identName; |
27 | this.identTypeName = identTypeName; |
28 | this.defineType = defineType; |
29 | this.nodeScope = nodeScope; |
30 | this.astPosistion = astPos; |
31 | this.defineKey = null; |
32 | } |
33 | |
34 | } |
35 |
Members