org.netbeans.modules.cnd.api.model/1 1.3 1

org.netbeans.modules.cnd.api.model.deep
Interface CsmDeclarationStatement

All Superinterfaces:
CsmObject, CsmOffsetable, CsmScopeElement, CsmStatement

public interface CsmDeclarationStatement
extends CsmStatement

Represents declaration statement


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.netbeans.modules.cnd.api.model.deep.CsmStatement
CsmStatement.Kind
 
Nested classes/interfaces inherited from interface org.netbeans.modules.cnd.api.model.CsmOffsetable
CsmOffsetable.Position
 
Method Summary
 List<CsmDeclaration> getDeclarators()
          According to the standard, declaration statement is a block-declaration, which, in turn, might be one of asm-definition namespace-alias definition using declaration using directive simple-declaration (i.e.
 
Methods inherited from interface org.netbeans.modules.cnd.api.model.deep.CsmStatement
getKind
 
Methods inherited from interface org.netbeans.modules.cnd.api.model.CsmOffsetable
getContainingFile, getEndOffset, getEndPosition, getStartOffset, getStartPosition, getText
 
Methods inherited from interface org.netbeans.modules.cnd.api.model.CsmScopeElement
getScope
 

Method Detail

getDeclarators

List<CsmDeclaration> getDeclarators()
According to the standard, declaration statement is a block-declaration, which, in turn, might be one of asm-definition namespace-alias definition using declaration using directive simple-declaration (i.e. [decl-specifier-seq] init_declarator_list So, according to the standard, declaration statement consists of the *single* declaration. But our API treats each variable as a separate declaration - that's why this method returns a list.


org.netbeans.modules.cnd.api.model/1 1.3 1

Built on November 23 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.