Esempio n. 1
0
        public static bool IsConfigurationDeclaration(this IStatement statement)
        {
            Contract.Requires(statement != null);

            return(statement.IsFunctionCallDeclaration(Names.ConfigurationFunctionCall));
        }
Esempio n. 2
0
 /// <summary>
 /// Whether a statement is a configuration declaration (i.e., config(...))
 /// </summary>
 private static bool IsConfigurationDeclaration(this IStatement statement)
 {
     return(statement.IsFunctionCallDeclaration(Names.ConfigurationFunctionCall));
 }