processDefQuotedString function

dynamic processDefQuotedString(
  1. String string,
  2. ParsingContext context,
  3. int level
)

Implementation

dynamic processDefQuotedString(
    String string,
    ParsingContext context,
    int level
    )
{
    if ( string.startsWith( '#' ) )
    {
        return getDefTextUuid( string.substring( 1 ) );
    }
    else if ( string.startsWith( '%' ) )
    {
        return getDefTextTuid( string.substring( 1 ) );
    }
    else
    {
        return string;
    }
}