public bool DeclareVariables(CodeString Str, List <Modifier> Mods = null, VarDeclConvMode Mode = VarDeclConvMode.Nothing, GetIdMode IdMode = GetIdMode.Everywhere) { var List = VarDeclarationList.Create(this, Str, Mods); if (List == null) { return(false); } return(DeclareVariables(List, Mode, IdMode)); }
public FunctionParameter[] GetParameters(IdContainer Container, CodeString Parameters) { var DeclList = VarDeclarationList.Create(Container, Parameters); if (DeclList == null) { return(null); } var RetValue = DeclList.ToFuncParams(new PluginForGlobals(Container), Mode: VarDeclConvMode.Normal); if (RetValue == null || RetValue.Contains(null)) { return(null); } return(RetValue); }