source: java/FramclipsePlugin/src/main/java/com/framsticks/framclipse/internal/parser/ASTIdentList.java @ 193

Last change on this file since 193 was 193, checked in by Maciej Komosinski, 10 years ago

Set svn:eol-style native for all textual files

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/plain
File size: 634 bytes
Line 
1/* Generated By:JJTree: Do not edit this line. ASTIdentList.java */
2
3package com.framsticks.framclipse.internal.parser;
4
5import java.util.ArrayList;
6import java.util.Collections;
7import java.util.List;
8
9public class ASTIdentList extends SimpleNode {
10       
11        private List<String> idents = new ArrayList<String>();
12       
13  public ASTIdentList(int id) {
14    super(id);
15  }
16
17  public ASTIdentList(FramclipseNonScriptParser p, int id) {
18    super(p, id);
19  }
20 
21  public List<String> getIdents()
22  {
23          return Collections.unmodifiableList(idents);
24  }
25 
26  public void addIdent(String id)
27  {
28          if(!idents.contains(id))
29                  idents.add(id);
30  }
31
32}
Note: See TracBrowser for help on using the repository browser.