Home | History | Annotate | Download | only in src

Lines Matching defs:Name

19 // FuncNameInferrer is a stateful class that is used to perform name
22 // to a variable or a property (see test-func-name-inference.cc for examples.)
25 // (assignments, declarations, object literals) we collect name strings,
27 // parsing the RHS we can infer a name for function literals that do not have
28 // a name.
33 // Returns whether we have entered name collection state.
36 // Pushes an enclosing the name of enclosing function onto names stack.
37 void PushEnclosingName(const AstRawString* name);
39 // Enters name collection state.
44 // Pushes an encountered name onto names stack when in collection state.
45 void PushLiteralName(const AstRawString* name);
47 void PushVariableName(const AstRawString* name);
49 // Adds a function to infer name for.
62 // Infers a function name and leaves names collection state.
84 struct Name {
85 Name(const AstRawString* name, NameType type) : name(name), type(type) {}
86 const AstRawString* name;
92 // Constructs a full name in dotted notation from gathered names.
99 // Performs name inferring for added functions.
104 ZoneList<Name> names_stack_;