Ignorable

Top  Previous  Next

Scripts > Token definitions > Predefined tokens > Ignorable

 

The following predefined tokens can be inserted in a project by a pop-up menu.

Then they can be set in the project options for the ignorable characters.

 

 

IGNORE_CPP:        

(\s \// spaces

|/)      \// begin of a comment

/[^\r\n]*$   \// line comment

|\*[^*]*\*+([^/*][^*]*\*+)*/ \// block comment

)   \

)+

 

Line comments, block comments and spaces are ignored in c++-code.

 

 

IGNORABLE_PAS:

( \

\s \// spaces

|\{[^}]*\} \// {...}-comment

|\(\*[^*]*\*+([^)*][^*]*\*+)*\) \// (*...*)-comment

)+

 

{...} comments, (*...*) comments and spaces are ignored in Pascal code

 

IGNORE_XML:

(\s \// spaces

|<!--([^-]|-+[^->]|->)*-+->)+ // block comment

 

XML ignores block comments and spaces.



This page belongs to the TextTransformer Documentation

Home  Content  German