Lines Matching defs:name
34 // FuncNameInferrer is a stateful class that is used to perform name
37 // to a variable or a property (see test-func-name-inference.cc for examples.)
40 // (assignments, declarations, object literals) we collect name strings,
42 // parsing the RHS we can infer a name for function literals that do not have
43 // a name.
51 // To enter function name inference state, put a FuncNameInferrer::State
72 // Returns whether we have entered name collection state.
75 // Pushes an enclosing the name of enclosing function onto names stack.
76 void PushEnclosingName(const AstRawString* name);
78 // Pushes an encountered name onto names stack when in collection state.
79 void PushLiteralName(const AstRawString* name);
81 void PushVariableName(const AstRawString* name);
83 // Adds a function to infer name for.
96 // Infers a function name and leaves names collection state.
111 Name(const AstRawString* name, NameType type)
112 : name_and_type_(name, type) {}
115 inline const AstRawString* name() const {
121 // Constructs a full name in dotted notation from gathered names.
124 // Performs name inferring for added functions.