You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once the graph has been produced by the parser, each service traverses it in order to extrapolate the information that are needed. For example, both the highlight and validate methods in Mode class perform the traversal.
This approach is not very efficient performance-wise. The suggestion is to have a unique method that performs a traversal and extrapolate different information according to the list of required services.
The text was updated successfully, but these errors were encountered:
Mode
- creation of the multiservice method
- conversion of the "validate" method to the new pattern
Code
- creation of a cache mechanism that prevents the execution of a service in case it has been executed on the same source code
- handling of the case in which the source code is an empty string
Validation visitor
- code to perform the validation of the graph with the extractioon of errors and warnings has been moved to this dedicated class
Partial fix of issue ariatemplates#50
Mode
- creation of the multiservice method
- conversion of the "validate" method to the new pattern
Code
- creation of a cache mechanism that prevents the execution of a service in case it has been executed on the same source code
Validation visitor
- code to perform the validation of the graph with the extraction of errors and warnings has been moved to this dedicated class
Partial fix of issue ariatemplates#50
flongo
added a commit
to flongo/editor-backend
that referenced
this issue
Dec 2, 2013
Mode
- creation of the multiservice method
- conversion of the "validate" method to the new pattern
Code
- creation of a cache mechanism that prevents the execution of a service in case it has been executed on the same source code
Validation visitor
- code to perform the validation of the graph with the extraction of errors and warnings has been moved to this dedicated class
Partial fix of issue ariatemplates#50
flongo
added a commit
to flongo/editor-backend
that referenced
this issue
Dec 2, 2013
Mode
- creation of the multiservice method
- conversion of the "validate" method to the new pattern
Code
- creation of a cache mechanism that prevents the execution of a service in case it has been executed on the same source code
Validation visitor
- code to perform the validation of the graph with the extraction of errors and warnings has been moved to this dedicated class
Partial fix of issue ariatemplates#50
Mode
- creation of the multiservice method
- conversion of the "validate" method to the new pattern
Code
- creation of a cache mechanism that prevents the execution of a service in case it has been executed on the same source code
Validation visitor
- code to perform the validation of the graph with the extraction of errors and warnings has been moved to this dedicated class
Partial fix of issue #50
The first commit that has introduced the possibility of adding visitors in a unique graph traversal is ba57366. The same commit also implements a visitor for the validation service.
Once the graph has been produced by the parser, each service traverses it in order to extrapolate the information that are needed. For example, both the
highlight
andvalidate
methods inMode
class perform the traversal.This approach is not very efficient performance-wise. The suggestion is to have a unique method that performs a traversal and extrapolate different information according to the list of required services.
The text was updated successfully, but these errors were encountered: