Java Doc for VariableT.java in  » Parser » Rats-Parser-Generators » xtc » type » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Parser » Rats Parser Generators » xtc.type 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


xtc.type.Type
   xtc.type.WrappedT
      xtc.type.VariableT

VariableT
public class VariableT extends WrappedT (Code)
A variable. This pseudo-type captures the name for globals, locals, parameters, fields, and bitfields. For the latter, it also captures the field width.
author:
   Robert Grimm
version:
   $Revision: 1.10 $

Inner Class :public static enum Kind


Constructor Summary
public  VariableT(Type template, Type type, Kind kind, String name)
     Create a new variable type.
public  VariableT(Type template, Type type, String name, int width)
     Create a new bit-field.

Method Summary
public  VariableTcopy()
    
public  KindgetKind()
     Get the kind.
public  StringgetName()
     Get the name.
public  intgetWidth()
     Get this variable's width.
public  booleanhasKind(Kind kind)
     Determine whether this variable has the specified kind.
Parameters:
  kind - The kind.
public  booleanhasName()
     Determine whether this variable has a name.
public  booleanhasName(String name)
     Determine whether this variable has the specified name.
Parameters:
  name - The name.
public  booleanhasVariable()
    
public  booleanhasWidth()
     Determine whether this variable has a width.
public  booleanisVariable()
    
public static  VariableTnewBitfield(Type type, String name, int width)
     Create a new bitfield.
public static  VariableTnewField(Type type, String name)
     Create a new field.
public static  VariableTnewGlobal(Type type, String name)
     Create a new global variable.
public static  VariableTnewLocal(Type type, String name)
     Create a new local variable.
public static  VariableTnewParam(Type type, String name)
     Create a new parameter.
public  VariableTtoVariable()
    
public  voidwrite(Appendable out)
    
public  Type.Tagwtag()
    


Constructor Detail
VariableT
public VariableT(Type template, Type type, Kind kind, String name)(Code)
Create a new variable type.
Parameters:
  template - The type whose annotations to copy.
Parameters:
  type - The type.
Parameters:
  kind - The kind.
Parameters:
  name - The name.



VariableT
public VariableT(Type template, Type type, String name, int width)(Code)
Create a new bit-field.
Parameters:
  template - The type whose annotations to copy.
Parameters:
  type - The type.
Parameters:
  name - The name.
Parameters:
  width - The width.




Method Detail
copy
public VariableT copy()(Code)



getKind
public Kind getKind()(Code)
Get the kind. The kind.



getName
public String getName()(Code)
Get the name. The name.



getWidth
public int getWidth()(Code)
Get this variable's width. If this variable is a bitfield, this method returns the bitfield's width. Otherwise, it returns -1. This variable's width.



hasKind
public boolean hasKind(Kind kind)(Code)
Determine whether this variable has the specified kind.
Parameters:
  kind - The kind. true if this variable has the specifiedkind.



hasName
public boolean hasName()(Code)
Determine whether this variable has a name. true if this variable has a name.



hasName
public boolean hasName(String name)(Code)
Determine whether this variable has the specified name.
Parameters:
  name - The name. true if this variable has the name.



hasVariable
public boolean hasVariable()(Code)



hasWidth
public boolean hasWidth()(Code)
Determine whether this variable has a width. true if this variable has a width.



isVariable
public boolean isVariable()(Code)



newBitfield
public static VariableT newBitfield(Type type, String name, int width)(Code)
Create a new bitfield.
Parameters:
  type - The type.
Parameters:
  name - The name.
Parameters:
  width - The width.



newField
public static VariableT newField(Type type, String name)(Code)
Create a new field.
Parameters:
  type - The type.
Parameters:
  name - The name.



newGlobal
public static VariableT newGlobal(Type type, String name)(Code)
Create a new global variable.
Parameters:
  type - The type.
Parameters:
  name - The name.



newLocal
public static VariableT newLocal(Type type, String name)(Code)
Create a new local variable.
Parameters:
  type - The type.
Parameters:
  name - The name.



newParam
public static VariableT newParam(Type type, String name)(Code)
Create a new parameter.
Parameters:
  type - The type.
Parameters:
  name - The name.



toVariable
public VariableT toVariable()(Code)



write
public void write(Appendable out) throws IOException(Code)



wtag
public Type.Tag wtag()(Code)



Methods inherited from xtc.type.WrappedT
public boolean equals(Object o)(Code)(Java Doc)
public Attribute getAttribute(String name, boolean forward)(Code)(Java Doc)
public Constant getConstant(boolean forward)(Code)(Java Doc)
public Language getLanguage(boolean forward)(Code)(Java Doc)
public Location getLocation(boolean forward)(Code)(Java Doc)
public String getScope(boolean forward)(Code)(Java Doc)
public Reference getShape(boolean forward)(Code)(Java Doc)
public Type getType()(Code)(Java Doc)
public boolean hasAlias()(Code)(Java Doc)
public boolean hasAnnotated()(Code)(Java Doc)
public boolean hasAttribute(Attribute att, boolean forward)(Code)(Java Doc)
public boolean hasConstant(boolean forward)(Code)(Java Doc)
public boolean hasEnum()(Code)(Java Doc)
public boolean hasEnumerator()(Code)(Java Doc)
public boolean hasInstantiated()(Code)(Java Doc)
public boolean hasLanguage(boolean forward)(Code)(Java Doc)
public boolean hasLocation(boolean forward)(Code)(Java Doc)
public boolean hasParameterized()(Code)(Java Doc)
public boolean hasScope(boolean forward)(Code)(Java Doc)
public boolean hasShape(boolean forward)(Code)(Java Doc)
public boolean hasTagged()(Code)(Java Doc)
public boolean hasVariable()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public boolean isWrapped()(Code)(Java Doc)
public Type resolve()(Code)(Java Doc)
public Type seal()(Code)(Java Doc)
public void setType(Type type)(Code)(Java Doc)
public Type.Tag tag()(Code)(Java Doc)
public AliasT toAlias()(Code)(Java Doc)
public AnnotatedT toAnnotated()(Code)(Java Doc)
public EnumT toEnum()(Code)(Java Doc)
public EnumeratorT toEnumerator()(Code)(Java Doc)
public InstantiatedT toInstantiated()(Code)(Java Doc)
public ParameterizedT toParameterized()(Code)(Java Doc)
public Tagged toTagged()(Code)(Java Doc)
public VariableT toVariable()(Code)(Java Doc)
public WrappedT toWrapped()(Code)(Java Doc)

Fields inherited from xtc.type.Type
List<Attribute> attributes(Code)(Java Doc)
Constant constant(Code)(Java Doc)
Language language(Code)(Java Doc)
String scope(Code)(Java Doc)
boolean sealed(Code)(Java Doc)
Reference shape(Code)(Java Doc)

Methods inherited from xtc.type.Type
public void addAttribute(Attribute att)(Code)(Java Doc)
public Type annotate()(Code)(Java Doc)
public Type attribute(Attribute att)(Code)(Java Doc)
public Type attribute(List<Attribute> attributes)(Code)(Java Doc)
public Type attribute(Type template)(Code)(Java Doc)
public List<Attribute> attributes()(Code)(Java Doc)
public static Type cast(Object type)(Code)(Java Doc)
protected void checkNotSealed()(Code)(Java Doc)
public Type constant(boolean value)(Code)(Java Doc)
public Type constant(Object value)(Code)(Java Doc)
abstract public Type copy()(Code)(Java Doc)
public static List<T> copy(List<T> types)(Code)(Java Doc)
public Type deannotate()(Code)(Java Doc)
public Attribute getAttribute(String name)(Code)(Java Doc)
public Attribute getAttribute(String name, boolean forward)(Code)(Java Doc)
public Constant getConstant()(Code)(Java Doc)
public Constant getConstant(boolean forward)(Code)(Java Doc)
public Language getLanguage()(Code)(Java Doc)
public Language getLanguage(boolean forward)(Code)(Java Doc)
public Location getLocation()(Code)(Java Doc)
public Location getLocation(boolean forward)(Code)(Java Doc)
public String getScope()(Code)(Java Doc)
public String getScope(boolean forward)(Code)(Java Doc)
public Reference getShape()(Code)(Java Doc)
public Reference getShape(boolean forward)(Code)(Java Doc)
public boolean hasAlias()(Code)(Java Doc)
public boolean hasAnnotated()(Code)(Java Doc)
public boolean hasAttribute(Attribute att)(Code)(Java Doc)
public boolean hasAttribute(Attribute att, boolean forward)(Code)(Java Doc)
public boolean hasAttribute(String name)(Code)(Java Doc)
public boolean hasAttribute(String name, boolean forward)(Code)(Java Doc)
public boolean hasAttributes()(Code)(Java Doc)
public boolean hasConstant()(Code)(Java Doc)
public boolean hasConstant(boolean forward)(Code)(Java Doc)
public boolean hasEnum()(Code)(Java Doc)
public boolean hasEnumerator()(Code)(Java Doc)
public boolean hasError()(Code)(Java Doc)
public boolean hasInstantiated()(Code)(Java Doc)
public boolean hasLanguage()(Code)(Java Doc)
public boolean hasLanguage(boolean forward)(Code)(Java Doc)
public boolean hasLocation()(Code)(Java Doc)
public boolean hasLocation(boolean forward)(Code)(Java Doc)
public boolean hasParameterized()(Code)(Java Doc)
public boolean hasScope()(Code)(Java Doc)
public boolean hasScope(boolean forward)(Code)(Java Doc)
public boolean hasShape()(Code)(Java Doc)
public boolean hasShape(boolean forward)(Code)(Java Doc)
public boolean hasStructOrUnion()(Code)(Java Doc)
public boolean hasTag(Tag tag)(Code)(Java Doc)
public boolean hasTagged()(Code)(Java Doc)
public boolean hasVariable()(Code)(Java Doc)
public boolean hasWTag(Tag tag)(Code)(Java Doc)
public boolean isAlias()(Code)(Java Doc)
public boolean isAnnotated()(Code)(Java Doc)
public boolean isArray()(Code)(Java Doc)
public boolean isBoolean()(Code)(Java Doc)
public boolean isClass()(Code)(Java Doc)
public boolean isConcrete()(Code)(Java Doc)
public boolean isDerived()(Code)(Java Doc)
public boolean isEnum()(Code)(Java Doc)
public boolean isEnumerator()(Code)(Java Doc)
public boolean isError()(Code)(Java Doc)
public boolean isFloat()(Code)(Java Doc)
public boolean isFunction()(Code)(Java Doc)
public boolean isInstantiated()(Code)(Java Doc)
public boolean isInteger()(Code)(Java Doc)
public boolean isInterface()(Code)(Java Doc)
public boolean isInternal()(Code)(Java Doc)
public boolean isLabel()(Code)(Java Doc)
public boolean isMethod()(Code)(Java Doc)
public boolean isNumber()(Code)(Java Doc)
public boolean isPackage()(Code)(Java Doc)
public boolean isParameter()(Code)(Java Doc)
public boolean isParameterized()(Code)(Java Doc)
public boolean isPointer()(Code)(Java Doc)
public boolean isSealed()(Code)(Java Doc)
public boolean isStruct()(Code)(Java Doc)
public boolean isTuple()(Code)(Java Doc)
public boolean isUnion()(Code)(Java Doc)
public boolean isUnit()(Code)(Java Doc)
public boolean isVariable()(Code)(Java Doc)
public boolean isVariant()(Code)(Java Doc)
public boolean isVoid()(Code)(Java Doc)
public boolean isWildcard()(Code)(Java Doc)
public boolean isWrapped()(Code)(Java Doc)
public Type language(Language language)(Code)(Java Doc)
public Type locate(Location location)(Code)(Java Doc)
public Type locate(Locatable locatable)(Code)(Java Doc)
public void mark(Node node)(Code)(Java Doc)
public Set<String> properties()(Code)(Java Doc)
public boolean removeAttribute(Attribute att)(Code)(Java Doc)
public Object removeProperty(String name)(Code)(Java Doc)
public Type resolve()(Code)(Java Doc)
public static Type resolve(Object type)(Code)(Java Doc)
public Type scope(String scope)(Code)(Java Doc)
public Type seal()(Code)(Java Doc)
public static List<T> seal(List<T> types)(Code)(Java Doc)
public void setLocation(Location location)(Code)(Java Doc)
public void setLocation(Locatable locatable)(Code)(Java Doc)
public Object setProperty(String name, Object value)(Code)(Java Doc)
public Type shape(boolean isStatic, String name)(Code)(Java Doc)
public Type shape(Reference shape)(Code)(Java Doc)
abstract public Tag tag()(Code)(Java Doc)
public AliasT toAlias()(Code)(Java Doc)
public AnnotatedT toAnnotated()(Code)(Java Doc)
public ArrayT toArray()(Code)(Java Doc)
public BooleanT toBoolean()(Code)(Java Doc)
public ClassT toClass()(Code)(Java Doc)
public EnumT toEnum()(Code)(Java Doc)
public EnumeratorT toEnumerator()(Code)(Java Doc)
public FloatT toFloat()(Code)(Java Doc)
public FunctionT toFunction()(Code)(Java Doc)
public InstantiatedT toInstantiated()(Code)(Java Doc)
public IntegerT toInteger()(Code)(Java Doc)
public InterfaceT toInterface()(Code)(Java Doc)
public InternalT toInternal()(Code)(Java Doc)
public LabelT toLabel()(Code)(Java Doc)
public MethodT toMethod()(Code)(Java Doc)
public NumberT toNumber()(Code)(Java Doc)
public PackageT toPackage()(Code)(Java Doc)
public Parameter toParameter()(Code)(Java Doc)
public ParameterizedT toParameterized()(Code)(Java Doc)
public PointerT toPointer()(Code)(Java Doc)
public StructT toStruct()(Code)(Java Doc)
public Tagged toTagged()(Code)(Java Doc)
public TupleT toTuple()(Code)(Java Doc)
public UnionT toUnion()(Code)(Java Doc)
public UnitT toUnit()(Code)(Java Doc)
public VariableT toVariable()(Code)(Java Doc)
public VariantT toVariant()(Code)(Java Doc)
public VoidT toVoid()(Code)(Java Doc)
public Wildcard toWildcard()(Code)(Java Doc)
public WrappedT toWrapped()(Code)(Java Doc)
public void trace(Runtime runtime)(Code)(Java Doc)
public Tag wtag()(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.