HomeSort by relevance Sort by last modified time
    Searched refs:Declarator (Results 1 - 25 of 44) sorted by null

1 2

  /external/javassist/src/main/javassist/compiler/ast/
Variable.java 24 protected Declarator declarator; field in class:Variable
26 public Variable(String sym, Declarator d) {
28 declarator = d;
31 public Declarator getDeclarator() { return declarator; }
34 return identifier + ":" + declarator.getType();
FieldDecl.java 27 public Declarator getDeclarator() { return (Declarator)tail().head(); }
Declarator.java 22 * Variable declarator.
24 public class Declarator extends ASTList implements TokenId {
30 public Declarator(int type, int dim) {
38 public Declarator(ASTList className, int dim) {
48 public Declarator(int type, String jvmClassName, int dim,
59 public Declarator make(Symbol sym, int dim, ASTree init) {
60 Declarator d = new Declarator(this.varType, this.arrayDim + dim);
MethodDecl.java 34 public Declarator getReturn() { return (Declarator)tail().head(); }
Visitor.java 32 public void atDeclarator(Declarator n) throws CompileError {}
  /external/javassist/src/main/javassist/compiler/
SymbolTable.java 19 import javassist.compiler.ast.Declarator;
33 public Declarator lookup(String name) {
34 Declarator found = (Declarator)get(name);
41 public void append(String name, Declarator value) {
Parser.java 44 Declarator d;
47 d = new Declarator(VOID, 0);
75 Declarator d) throws CompileError
104 ASTList mods, Declarator d)
183 private Declarator parseFormalType(SymbolTable tbl) throws CompileError {
188 return new Declarator(t, dim);
193 return new Declarator(name, dim);
204 private Declarator parseFormalParam(SymbolTable tbl)
207 Declarator d = parseFormalType(tbl);
480 Declarator d = parseFormalParam(tbl2)
    [all...]
JvstCodeGen.java 514 Declarator decl
515 = new Declarator(CLASS, MemberResolver.javaToJvmName(target),
559 Declarator decl
560 = new Declarator(exprType, className, arrayDim,
590 Declarator decl
591 = new Declarator(type, cname, dim, varNo, new Symbol(varName));
Javac.java 131 Declarator d = fd.getDeclarator();
161 Declarator r = md.getReturn();
MemberResolver.java 326 return lookupClass(Declarator.astToClassName(name, '.'), false);
333 public CtClass lookupClass(Declarator decl) throws CompileError {
  /external/clang/lib/Sema/
SemaType.cpp 45 /// isOmittedBlockReturnType - Return true if this declarator is missing a
47 static bool isOmittedBlockReturnType(const Declarator &D) {
48 if (D.getContext() != Declarator::BlockLiteralContext ||
130 /// The declarator being processed.
131 Declarator &declarator; member in class:__anon1813::TypeProcessingState
133 /// The index of the declarator chunk we're currently processing.
152 TypeProcessingState(Sema &sema, Declarator &declarator)
153 : sema(sema), declarator(declarator)
372 Declarator &declarator = state.getDeclarator(); local
426 Declarator &declarator = state.getDeclarator(); local
487 Declarator &declarator = state.getDeclarator(); local
520 Declarator &declarator = state.getDeclarator(); local
568 Declarator &declarator = state.getDeclarator(); local
633 Declarator &declarator = state.getDeclarator(); local
701 Declarator &declarator = state.getDeclarator(); local
1899 Declarator &declarator = state.getDeclarator(); local
    [all...]
  /external/clang/include/clang/Parse/
Parser.h     [all...]
  /external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/pyxelator/
ir.py 251 while isinstance(self[i],Declarator):
263 return Declarator( Identifier(), node )
452 class Declarator(genpyx.Declarator, Node):
550 " return Declarator pointing to self's type "
551 decl = Declarator(Identifier(), Pointer(self.get_rest().clone()))
555 " return (clone of) Declarator that self is pointing to "
624 decl=Declarator()
682 class Typedef(genpyx.Typedef, Declarator):
684 return 'typedef ' + Declarator.cstr(self,l) #.strip(
    [all...]
genpyx.py 160 while isinstance(self[i],Declarator):
301 class Declarator(object):
327 " this is the common part of pyxstr that gets called from both Declarator and Typedef "
332 #print "Declarator.pyxstr", node.cstr()
399 class Typedef(Declarator):
432 class AbstractDeclarator(Declarator):
449 class StructDeclarator(Declarator): # also used in Union
cparse.py 256 class Declarator(Node,Parser):
329 class AbstractDeclarator(Declarator):
363 class StructDeclarator(Declarator):
368 Declarator.parse(self,lexer,symbols)
608 decl = Declarator()
613 "expected declarator, got '%s'"%lexer.tok )
713 "expected declarator, got '%s'"%lexer.tok )
  /external/clang/lib/Parse/
RAIIObjectsForParser.h 193 /// A class for parsing a declarator.
194 class ParsingDeclarator : public Declarator {
199 : Declarator(DS, C), ParsingRAII(P, &DS.getDelayedDiagnosticPool()) {
203 return static_cast<const ParsingDeclSpec&>(Declarator::getDeclSpec());
211 Declarator::clear();
220 /// A class for parsing a field declarator.
ParseDecl.cpp 38 /// specifier-qualifier-list abstract-declarator[opt]
42 Declarator::TheContext Context,
58 // Parse the abstract-declarator, if present.
59 Declarator DeclaratorInfo(DS, Context);
125 Declarator *D) {
334 Declarator *D) {
    [all...]
ParseObjc.cpp 344 // Install the property declarator into interfaceDecl.
817 Declarator::TheContext Context) {
818 assert(Context == Declarator::ObjCParameterContext ||
819 Context == Declarator::ObjCResultContext);
824 Context == Declarator::ObjCParameterContext);
867 // destroying the internal invariants of the declarator here,
876 /// declarator and add them to the given list.
878 Declarator &D) {
896 Declarator::TheContext context,
898 assert(context == Declarator::ObjCParameterContext |
    [all...]
Parser.cpp 701 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs);
712 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs);
724 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs);
734 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs);
749 ParseExplicitInstantiation(Declarator::FileContext,
771 /// declarator, continues a declaration or declaration list.
790 /// declarator, indicates the start of a function definition.
791 bool Parser::isStartOfFunctionDefinition(const ParsingDeclarator &Declarator) {
792 assert(Declarator.isFunctionDeclarator() && "Isn't a function declarator");
    [all...]
ParseTemplate.cpp 169 if (Context == Declarator::MemberContext) {
208 // Parse the declarator.
209 ParsingDeclarator DeclaratorInfo(*this, DS, (Declarator::TheContext)Context);
211 // Error parsing the declarator?
237 // If the declarator-id is not a template-id, issue a diagnostic and
511 Declarator::TemplateTypeArgContext).get();
645 Declarator ParamDecl(DS, Declarator::TemplateParamContext);
695 Declarator &D) {
    [all...]
ParseExpr.cpp 783 // Fake up a Declarator to use with ActOnTypeName.
792 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext);
    [all...]
ParseExprCXX.cpp 632 /// lambda-introducer lambda-declarator[opt] compound-statement
663 /// lambda-declarator:
    [all...]
  /external/clang/include/clang/AST/
TemplateBase.h 374 TypeSourceInfo *Declarator;
380 TemplateArgumentLocInfo(TypeSourceInfo *TInfo) : Declarator(TInfo) {}
395 return Declarator;
  /external/clang/include/clang/Sema/
DeclSpec.h 51 class Declarator;
748 /// \brief Checks if this DeclSpec can stand alone, without a Declarator.
    [all...]
Sema.h     [all...]

Completed in 177 milliseconds

1 2