Skip to content
Snippets Groups Projects
Commit 2aa0c7ed authored by Jueun Park's avatar Jueun Park
Browse files

Update

parent 9173c31d
No related branches found
No related tags found
No related merge requests found
Pipeline #11516 passed with warnings
......@@ -46,7 +46,7 @@ During the implementation phase of parameter inference, RAG was beneficial at wr
\begin{itemize}
\item As long as a returned type can be called or storable in primitive way, the syntax in RAG is reduced with an equlas sign and simpler than in common programming language. Therefore, the source codes are compact. To compare how RAG could be implemented effectively, see the implementation of an attribute in this work in Listing 5.3 and how this attribute is defined in common Java description in Listing 5.4.
\item For loop with inherited attributes
\item To iterate all paths available in OpenAPI, an inherited attribute facilitated the writing effort. Paths Objects are child nodes of OpenAPI Object, so, all that should have been done was only two lines of code instead of writing an extra for loop. See Listing 5.5.
\item Collection attributes
\end{itemize}
......@@ -60,6 +60,13 @@ public String InferredParameter.value() {
}
\end{lstlisting}
\begin{lstlisting}[language=JRAG,label={lst:java-infParam},caption={InferredParameter.value() in Java}]
inh boolean PathsObject.inferUrl();
eq OpenAPIObject.getPathsObject(int i).inferUrl(){
...
}
\end{lstlisting}
% Result
% Future work
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment