Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - suityou01

Pages: [1]
1
Hi all,

I'm trying to carve out a basic bnf grammar for importing js (ecmascript) files. I have had a lot of success so far and can parse classes, functions, imports, expors etc etc.
My one question is basically how can I get the name of the file currently being examined by the importer that is applying the specific grammar?

Take for example the following js code, in a ecma module

file.js
Code: [Select]
let x = 1;

export default x;

Now in terms of rendering a UML model node from this code, we have the implicit module "file.js" to which our variable is bound. How would I get this filename in a cfg using EA?

Is there some kind of macro or preProcessor command I can call to get this?

2
General Board / Roundtrip Engineering for Node / ES6?
« on: October 11, 2021, 06:34:22 am »
I note the list of supported languages for this feature, and also note that this product is extensible. Is it possible to extend this functionality to roundtrip node/es6 code?

3
General Board / Re: Link DFD to ERD (Table/Column)
« on: January 30, 2013, 08:43:08 pm »
Really no one knows how?  ::)

4
General Board / Link DFD to ERD (Table/Column)
« on: January 09, 2013, 02:24:12 am »
Is there a way to create a DFD so show the data flow between two components, and somehow link this to the schema I reverse engineered so I can specifically see (by some sort of drill down) what data is involved in the flow? Just to say there is a data flow is quite nebulous and I want to provide more granularity.


Pages: [1]