-
Notifications
You must be signed in to change notification settings - Fork 2
/
lookAt
44 lines (21 loc) · 1.21 KB
/
lookAt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
> Scope Resolution:
scope of function parameter list is equal to function body scope
> enum related rules
> type_specifier
> elaborate_type_specifier
> suffix_decl_specified_ids : suffix_built_in_decl_specifier
> primary_expression other productions
> postfix_expression Other productions
> Ignored: specifer is None or not
> in expresion check if assignment-expression is declared
> "star_ptr_operator : star_ptr_operator cv_qualifier" => int *const ptr; (http://www.geeksforgeeks.org/const-qualifier-in-c/)
> nested_ptr_operator : id_scope nested_ptr_operator => Scoping rules
> "global_scope" => Don't know when this global_scope is used (Currently ignored)
>> id_type: variable, array, function, class, type_specifier, literal, parameter (means- int x), namespace, object
scope_type: block_scope, function_scope, class_scope, namespace_scope, struct_scope, union_scope
>> No new scope is created if error occurs like in func(int a,int b) { } inside another function
> Elippsis
> "pm_expression : pm_expression DOT_STAR cast_expression"
> "pm_expression : pm_expression ARROW_STAR cast_expression"
> "advance_search" (not using at all)
2149: "suffix_decl_specified_scope : suffix_named_decl_specifiers SCOPE"