Opened 9 years ago

Closed 8 years ago

#1344 closed enhancement (fixed)

Add simple name lookup in source tree

Reported by: Jesper Mattsson Owned by: Jesper Mattsson
Priority: major Milestone: 1.6.x
Component: Modelica/FrontEnd Version: trunk
Keywords: Cc:

Description

Add a simplified name lookup in the source tree, for situations where speed is more important that correctness (e.g. icon rendering). Ignore all redeclares and modifications, but handle imports, short class decls and libraries.

Change History (9)

comment:1 Changed 9 years ago by Jesper Mattsson

Status: newaccepted

comment:2 Changed 9 years ago by Jesper Mattsson

changeset:2464

Added a first (untested) version of simple name lookup in the source tree.

comment:3 Changed 9 years ago by Jesper Mattsson

changeset:2465

The Eclipse plugin war broken by r2464, this fixes that.

comment:4 Changed 9 years ago by Jesper Mattsson

changeset:2466

Fixed some bugs in simple name lookup.

comment:5 Changed 9 years ago by Jesper Mattsson

changeset:2467

Fixed mistake in r2466 that gave compilation error.

comment:6 Changed 9 years ago by Jesper Mattsson

changeset:2476

Fixed bug in simple name lookup where import caused infinite loop.

comment:7 Changed 9 years ago by Jesper Mattsson

changeset:2512

Fixed bug in simple name lookup where top-level classes not in libraries weren't found.

comment:8 Changed 9 years ago by Jesper Mattsson

changeset:2532

Added guard against circular lookup in simple name lookup.

comment:9 Changed 8 years ago by Jesper Mattsson

Resolution: fixed
Status: acceptedclosed

Since the lookup is now used in icon rendering and works fine, this ticket can be closed.

Note: See TracTickets for help on using tickets.