Skip to content

Missing Elements Catch-All #42

@jsipahio

Description

@jsipahio

This is a catch all issue for all missing elements in the dispatcher (not considering Python or things that are dependent on a srcML fix):

Declaration-Like Elements:

These are declarations or like declarations
[ ] using (C++, C#)
[ ] typedef (C, C++)
[ ] import (Java)
[ ] package (Java)
[ ] class_decl, struct_decl, enum_decl, union_decl

Expression-Likes

These are/look like expressions
[ ] continue (I only see it in GotoPolicy)
[ ] ternaries (C++, Java, C#)
[ ] asm (C, C++)
[ ] lambda (C++, C#, Java)

Call-Likes

These are things that look like calls but have a special tag instead of being a call with a name
[ ] alignof, _Alignof (C, C++)
[ ] alignas, _Alignas (C, C++)
[ ] cast (C++)
[ ] macro call (C, C++)
[ ] sizeof (C++, C#)
[ ] typeid (C++)
[ ] typeof (C#)
These two have a block version and a call version
[ ] checked (C#)
[ ] unchecked (C#)

Special Blocks

Labeled blocks that have their own tag.
[ ] extern (C, C++)
[ ] static (Java)
[ ] checked (C#)
[ ] unchecked (C#)
[ ] unsafe (C#)

Function-Likes

[ ] lambda - the actual lambda itself is a function without a name tag (and in C++ with a capture tag)
[ ] C# delegates the same syntax as a function_decl
These two have the same structure
[ ] C# Event with body
[ ] C# Property
[ ] C# Nested Functions

Preprocessor

Need to handle the cpp namespace preprocessor directives
[x] include (looks like this is done)
[ ] define
[ ] conditionals
[ ] region
[ ] macro

Foreach

[ ] add foreach to handled tags and treat like for (C#)
[ ] handle C# range-based for-loop

Constraints

[ ] Java has extends in generic argument lists
[ ] C# has where clauses after classes/methods

Member Init List

[ ] I don't see a handler for this in the FunctionPolicy

Others

[ ] finally branch of try (C#, Java)
[ ] Declarations within struct definition ex: struct Foo { } foo;
[ ] Attributes/Annotations might be a mess (C++, C#, Java)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions