com.ochafik.lang.jnaerator.parser
Class StoredDeclarations

java.lang.Object
  extended by com.ochafik.lang.jnaerator.parser.Element
      extended by com.ochafik.lang.jnaerator.parser.ModifiableElement
          extended by com.ochafik.lang.jnaerator.parser.Declaration
              extended by com.ochafik.lang.jnaerator.parser.StoredDeclarations
Direct Known Subclasses:
StoredDeclarations.TypeDef, VariablesDeclaration

public abstract class StoredDeclarations
extends Declaration


Nested Class Summary
static class StoredDeclarations.TypeDef
           
 
Field Summary
 
Fields inherited from class com.ochafik.lang.jnaerator.parser.Declaration
valueType, visibility
 
Fields inherited from class com.ochafik.lang.jnaerator.parser.ModifiableElement
annotations, modifiers
 
Fields inherited from class com.ochafik.lang.jnaerator.parser.Element
nameSpace, possibleLanguages
 
Constructor Summary
StoredDeclarations()
           
 
Method Summary
 void addDeclarator(Declarator declarator)
           
 void addDeclarators(List<Declarator> declarators)
           
 List<Declarator> getDeclarators()
           
 Element getNextChild(Element child)
           
 Element getPreviousChild(Element child)
           
protected  String getValueTypeAndStorageSuffix(CharSequence indent)
           
 boolean replaceChild(Element child, Element by)
           
 void setDeclarators(List<Declarator> declarator)
           
 String toString(CharSequence indent)
           
 
Methods inherited from class com.ochafik.lang.jnaerator.parser.Declaration
clone, getModifiersStringPrefix, getValueType, getVisibility, setValueType, setVisibility
 
Methods inherited from class com.ochafik.lang.jnaerator.parser.ModifiableElement
accept, addAnnotation, addAnnotations, addModifiers, addModifiers, getAnnotations, getModifiers, removeModifiers, reorganizeModifiers, setAnnotations, setModifiers
 
Methods inherited from class com.ochafik.lang.jnaerator.parser.Element
addNameSpace, addToCommentBefore, addToCommentBefore, changeValue, changeValue, cleanComment, cloneElements, cloneElements, cloneObject, deepClone, findParentOfType, findParentOfTypes, formatComments, formatComments, getCommentAfter, getCommentBefore, getElementFile, getElementLine, getFileOfAscendency, getGettersAndSetters, getId, getNameSpace, getNextSibling, getNextSibling, getParentElement, getPossibleLanguages, getPreviousSibling, getPreviousSibling, implode, importDetails, insertChild, insertSibling, moveAllCommentsBefore, replaceBy, replaceChild, resolvePossibleLanguages, setCommentAfter, setCommentBefore, setElementFile, setElementLine, setNameSpace, setParentElement, setPossibleLanguages, stripDetails, toString, unmodifiableList
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StoredDeclarations

public StoredDeclarations()
Method Detail

getValueTypeAndStorageSuffix

protected String getValueTypeAndStorageSuffix(CharSequence indent)

toString

public String toString(CharSequence indent)
Specified by:
toString in class Element

getDeclarators

public List<Declarator> getDeclarators()

setDeclarators

public void setDeclarators(List<Declarator> declarator)

addDeclarators

public void addDeclarators(List<Declarator> declarators)

addDeclarator

public void addDeclarator(Declarator declarator)

getNextChild

public Element getNextChild(Element child)
Overrides:
getNextChild in class ModifiableElement

getPreviousChild

public Element getPreviousChild(Element child)
Overrides:
getPreviousChild in class ModifiableElement

replaceChild

public boolean replaceChild(Element child,
                            Element by)
Overrides:
replaceChild in class Declaration


Copyright © 2009. All Rights Reserved.