static public UINodeInfoInTree SictAuswert( this GbsAstInfo gbsBaum) { if (null == gbsBaum) { return(null); } var GbsBaumScpez = SictRefNezKopii.ObjektKopiiErsctele( gbsBaum, null, new Bib3.RefBaumKopii.Param(null, KonvertGbsAstInfoRictliinieMitScatescpaicer), null, null) as UINodeInfoInTree; if (null == GbsBaumScpez) { return(null); } int InBaumAstIndexZääler = 0; GbsBaumScpez.AbgelaiteteAigescafteBerecne(ref InBaumAstIndexZääler); return(GbsBaumScpez); }
static public bool PyObjTypNameMatchesRegex( this GbsAstInfo node, Regex regex) { var PyObjTypName = node?.PyObjTypName; if (null == PyObjTypName) { return(false); } return(regex?.Match(PyObjTypName)?.Success ?? false); }
static public SictGbsAstInfoSictAuswert Konvert( this GbsAstInfo GbsAst) { if (null == GbsAst) { return(null); } SictRefBaumKopiiProfile Profile = null; return (SictRefBaumKopii.ObjektKopiiErscteleUndErsazType <GbsAstInfo, SictGbsAstInfoSictAuswert>( GbsAst, ref Profile) as SictGbsAstInfoSictAuswert); }
static public bool PyObjTypNameIsSprite( this GbsAstInfo uiNode) => uiNode.PyObjTypNameMatchesRegex(PyTypeNameSpriteRegex);
static public bool PyObjTypNameIsButton( this GbsAstInfo uiNode) => PyObjTypNameMatchesRegex(uiNode, RegexGbsAstPyObjTypNameButton);
static public bool PyObjTypNameIsContainer( this GbsAstInfo uiNode) => PyObjTypNameMatchesRegex(uiNode, RegexGbsAstPyObjTypNameContainer);
static public bool PyObjTypNameMatchesRegexPatternIgnoreCase( this GbsAstInfo uiNode, string regexPattern, RegexOptions regexOptions = RegexOptions.None) => uiNode.PyObjTypNameMatchesRegexPattern(regexPattern, RegexOptions.IgnoreCase | regexOptions);
static public bool PyObjTypNameMatchesRegexPattern( this GbsAstInfo uiNode, string regexPattern, RegexOptions regexOptions = RegexOptions.None) => uiNode.PyObjTypNameMatchesRegex(regexPattern.AlsRegex(regexOptions));