165 nsUri =
value.ResultNsUri;
177 return value !=
null;
182 for (
int i = 0; i <= 2; i++)
184 sheet.WhitespaceRules[i].Reverse();
239 return prefix +
":" + localName;
303 if (namespaceUri.Length > 0)
305 return namespaceUri[0] ==
'\0';
static void Sort(Array array)
bool TryGetValue(TKey key, [MaybeNullWhen(false)] out TValue value)
bool ContainsKey(TKey key)
void CopyTo(KeyValuePair< TKey, TValue >[] array, int index)
void AddRange(IEnumerable< KeyValuePair< TKey, TValue > > collection)
void Add(TKey key, TValue value)
void AddRange(IEnumerable< T > collection)
static string Xslt_WarningAsError
static void ValidateNameThrow(string prefix, string localName, string ns, XPathNodeType nodeKind, Flags flags)
static int ParseQNameThrow(string s)
static void ParseNameTestThrow(string s, out string prefix, out string localName)
bool TreatWarningsAsErrors
int Add(CompilerError value)
readonly Dictionary< string, int > _moduleOrder
CompilerErrorComparer(Dictionary< string, int > moduleOrder)
int Compare(CompilerError x, CompilerError y)
XslNode StartApplyTemplates
Compiler(XsltSettings settings, bool debug, string scriptAssemblyPath)
string CreatePhantomNamespace()
bool ParseNameTest(string nameTest, out string prefix, out string localName, IErrorHelper errorHelper)
List< WhitespaceRule > WhitespaceRules
CompilerErrorCollection Compile(object stylesheet, XmlResolver xmlResolver, out QilExpression qil)
Dictionary< QilName, AttributeSet > AttributeSets
void MergeAttributeSets(Stylesheet sheet)
static string ConstructQName(string prefix, string localName)
readonly Dictionary< string, int > _moduleOrder
void MergeWhitespaceRules(Stylesheet sheet)
bool IsPhantomNamespace(string namespaceName)
void MergeWithStylesheet(Stylesheet sheet)
void ValidatePiName(string name, IErrorHelper errorHelper)
Dictionary< QilName, Template > NamedTemplates
bool IsPhantomName(QilName qname)
readonly string PhantomNCName
Stylesheet CreateStylesheet()
void ReportWarning(ISourceLineInfo lineInfo, string res, params string[] args)
List< VarPar > GlobalVars
void EnterForwardsCompatible()
Dictionary< string, NsAlias > NsAliases
CompilerErrorCollection CompilerErrorColl
bool ExitForwardsCompatible(bool fwdCompat)
void ReportError(ISourceLineInfo lineInfo, string res, params string[] args)
CompilerError CreateError(ISourceLineInfo lineInfo, string res, params string[] args)
DecimalFormats DecimalFormats
bool SetNsAlias(string ssheetNsUri, string resultNsUri, string resultPrefix, int importPrecedence)
void MergeGlobalVarPars(Stylesheet sheet)
void ApplyNsAliases(ref string prefix, ref string nsUri)
void AddModule(string baseUri)
Dictionary< QilName, VarPar > AllGlobalVarPars
string inputTypeAnnotations
List< ProtoTemplate > AllTemplates
bool ParseQName(string qname, out string prefix, out string localName, IErrorHelper errorHelper)
string ScriptAssemblyPath
List< VarPar > ExternalPars
static QilExpression CompileStylesheet(Compiler compiler)
void Load(Compiler compiler, object stylesheet, XmlResolver xmlResolver)