HomeSort by relevance Sort by last modified time
    Searched refs:Declarator (Results 1 - 25 of 39) 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 {
MemberCodeGen.java 221 Declarator decl = (Declarator)p.getLeft();
326 atNewArrayExpr2(type, sizeExpr, Declarator.astToClassName(classname, '/'), init);
    [all...]
CodeGen.java 128 protected int getLocalVar(Declarator d) {
268 atDeclarator((Declarator)params.head());
709 public void atDeclarator(Declarator d) throws CompileError {
777 Declarator d, ASTree right,
    [all...]
TypeChecker.java 238 Declarator d, ASTree right)
920 Declarator d = ((Variable)oprand).getDeclarator();
956 Declarator d = v.getDeclarator();
    [all...]
  /external/clang/lib/Sema/
SemaType.cpp 37 /// isOmittedBlockReturnType - Return true if this declarator is missing a
39 static bool isOmittedBlockReturnType(const Declarator &D) {
40 if (D.getContext() != Declarator::BlockLiteralContext ||
116 /// The declarator being processed.
117 Declarator &declarator; member in class:__anon4909::TypeProcessingState
119 /// The index of the declarator chunk we're currently processing.
138 TypeProcessingState(Sema &sema, Declarator &declarator)
139 : sema(sema), declarator(declarator)
301 Declarator &declarator = state.getDeclarator(); local
333 Declarator &declarator = state.getDeclarator(); local
394 Declarator &declarator = state.getDeclarator(); local
427 Declarator &declarator = state.getDeclarator(); local
471 Declarator &declarator = state.getDeclarator(); local
527 Declarator &declarator = state.getDeclarator(); local
584 Declarator &declarator = state.getDeclarator(); local
1633 Declarator &declarator = state.getDeclarator(); local
    [all...]
  /external/clang/include/clang/Parse/
Parser.h     [all...]
  /external/clang/lib/Parse/
ParseDecl.cpp 32 /// specifier-qualifier-list abstract-declarator[opt]
36 Declarator::TheContext Context,
47 // Parse the abstract-declarator, if present.
48 Declarator DeclaratorInfo(DS, Context);
956 /// 'Context' should be a Declarator::TheContext value. This returns the
    [all...]
ParseTemplate.cpp 202 if (Context == Declarator::MemberContext) {
232 // Parse the declarator.
233 ParsingDeclarator DeclaratorInfo(*this, DS, (Declarator::TheContext)Context);
235 // Error parsing the declarator?
248 // If we have a declaration or declarator list, handle it.
512 Declarator::TemplateTypeArgContext).get();
634 Declarator ParamDecl(DS, Declarator::TemplateParamContext);
    [all...]
Parser.cpp 648 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs);
659 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs);
671 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs);
681 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs);
696 ParseExplicitInstantiation(Declarator::FileContext,
724 /// declarator, continues a declaration or declaration list.
743 /// declarator, indicates the start of a function definition.
744 bool Parser::isStartOfFunctionDefinition(const ParsingDeclarator &Declarator) {
745 assert(Declarator.isFunctionDeclarator() && "Isn't a function declarator");
    [all...]
ParseObjc.cpp 323 // Install the property declarator into interfaceDecl.
795 Declarator::TheContext Context) {
796 assert(Context == Declarator::ObjCParameterContext ||
797 Context == Declarator::ObjCResultContext);
802 Context == Declarator::ObjCParameterContext);
845 // destroying the internal invariants of the declarator here,
854 /// declarator and add them to the given list.
856 Declarator &D) {
874 Declarator::TheContext context,
876 assert(context == Declarator::ObjCParameterContext |
    [all...]
ParseExprCXX.cpp 531 /// lambda-introducer lambda-declarator[opt] compound-statement
554 /// lambda-declarator:
745 // Parse lambda-declarator[opt].
747 Declarator D(DS, Declarator::LambdaExprContext);
    [all...]
ParseExpr.cpp     [all...]
ParseDeclCXX.cpp 534 Declarator::AliasTemplateContext :
535 Declarator::AliasDeclContext, AS, OwnedType);
801 // Fake up a Declarator to use with ActOnTypeName.
806 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext);
889 // Fake up a Declarator to use with ActOnTypeName.
899 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext);
    [all...]
  /external/clang/include/clang/Sema/
Sema.h     [all...]
DeclSpec.h 48 class Declarator;
688 /// without a Declarator. Only tag declspecs can stand alone.
    [all...]
  /external/clang/include/clang/AST/
TemplateBase.h 367 TypeSourceInfo *Declarator;
381 TemplateArgumentLocInfo(TypeSourceInfo *TInfo) : Declarator(TInfo) {}
396 return Declarator;

Completed in 1189 milliseconds

1 2