00001 package instruction.syntaxparser; 00002 00003 00004 public class SyntaxElement { 00005 00006 String type; 00007 String name; 00008 00009 public SyntaxElement(String type, String name) { 00010 this.type = type; 00011 this.name = name; 00012 } 00013 00014 public String getName() { 00015 return name; 00016 } 00017 00018 public String getType() { 00019 return type; 00020 } 00021 00022 public void setName(String name) { 00023 this.name = name; 00024 } 00025 00026 public void setType(String type) { 00027 this.type = type; 00028 } 00029 00030 }