Clear semantic code

Top  Previous  Next

User interface > Script management and parsing > Clear semantic code

 

By the function: clear semantic code, all semantic actions can be removed from a script. Parameters and return types are removed too.

 

On the token page in all scripts the parameters, return types and actions are removed.

On the production page, you can call this function either for an individual script or for all scripts of this page.

On the element page, there is nothing but semantical code. So you have the possibility to remove all scripts totally from the project.

On the test page, there is the possibility too, to remove all scripts totally from the project.

 

in the general Edit menu, there is the possibility to remove the semantic code of the token page, the production page and the element page at once.

 

Example:

 

If this function is applied ont:

 

Parameter: str& xs

return type:

Text:

{{

m_bInNewLine = true;

node n("ClearItpText");

}}

Expression[n]

{{

xs = m_ftClear.visit(n);

}}

{-

out << xs;

-}

 

one gets:

 

Parameter:

Rückgabetyp:

Text:

Expression

 

 

 



This page belongs to the TextTransformer Documentation

Home  Content  German