src/share/classes/com/sun/tools/javac/tree/JCTree.java

changeset 767
7e3e9f6d013f
parent 724
7755f47542a0
child 798
4868a36f6fd8
equal deleted inserted replaced
757:c44234f680da 767:7e3e9f6d013f
35 35
36 import com.sun.tools.javac.util.*; 36 import com.sun.tools.javac.util.*;
37 import com.sun.tools.javac.util.JCDiagnostic.DiagnosticPosition; 37 import com.sun.tools.javac.util.JCDiagnostic.DiagnosticPosition;
38 import com.sun.tools.javac.util.List; 38 import com.sun.tools.javac.util.List;
39 import com.sun.tools.javac.code.*; 39 import com.sun.tools.javac.code.*;
40 import com.sun.tools.javac.code.Scope; 40 import com.sun.tools.javac.code.Scope.*;
41 import com.sun.tools.javac.code.Symbol.*; 41 import com.sun.tools.javac.code.Symbol.*;
42 import com.sun.source.tree.*; 42 import com.sun.source.tree.*;
43 43
44 import static com.sun.tools.javac.code.BoundKind.*; 44 import static com.sun.tools.javac.code.BoundKind.*;
45 45
432 public List<JCAnnotation> packageAnnotations; 432 public List<JCAnnotation> packageAnnotations;
433 public JCExpression pid; 433 public JCExpression pid;
434 public List<JCTree> defs; 434 public List<JCTree> defs;
435 public JavaFileObject sourcefile; 435 public JavaFileObject sourcefile;
436 public PackageSymbol packge; 436 public PackageSymbol packge;
437 public Scope namedImportScope; 437 public ImportScope namedImportScope;
438 public Scope starImportScope; 438 public StarImportScope starImportScope;
439 public long flags; 439 public long flags;
440 public Position.LineMap lineMap = null; 440 public Position.LineMap lineMap = null;
441 public Map<JCTree, String> docComments = null; 441 public Map<JCTree, String> docComments = null;
442 public Map<JCTree, Integer> endPositions = null; 442 public Map<JCTree, Integer> endPositions = null;
443 protected JCCompilationUnit(List<JCAnnotation> packageAnnotations, 443 protected JCCompilationUnit(List<JCAnnotation> packageAnnotations,
444 JCExpression pid, 444 JCExpression pid,
445 List<JCTree> defs, 445 List<JCTree> defs,
446 JavaFileObject sourcefile, 446 JavaFileObject sourcefile,
447 PackageSymbol packge, 447 PackageSymbol packge,
448 Scope namedImportScope, 448 ImportScope namedImportScope,
449 Scope starImportScope) { 449 StarImportScope starImportScope) {
450 this.packageAnnotations = packageAnnotations; 450 this.packageAnnotations = packageAnnotations;
451 this.pid = pid; 451 this.pid = pid;
452 this.defs = defs; 452 this.defs = defs;
453 this.sourcefile = sourcefile; 453 this.sourcefile = sourcefile;
454 this.packge = packge; 454 this.packge = packge;

mercurial