Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
ParticleContentValidator (XmlSchemaContentType contentType) | |
ParticleContentValidator (XmlSchemaContentType contentType, bool enableUpaCheck) | |
override void | InitValidation (ValidationState context) |
override object | ValidateElement (XmlQualifiedName name, ValidationState context, out int errorCode) |
override bool | CompleteValidation (ValidationState context) |
void | Start () |
void | OpenGroup () |
void | CloseGroup () |
bool | Exists (XmlQualifiedName name) |
void | AddName (XmlQualifiedName name, object particle) |
void | AddNamespaceList (NamespaceList namespaceList, object particle) |
void | AddChoice () |
void | AddSequence () |
void | AddStar () |
void | AddPlus () |
void | AddQMark () |
void | AddLeafRange (decimal min, decimal max) |
ContentValidator | Finish (bool useDFA) |
virtual ArrayList | ExpectedElements (ValidationState context, bool isRequiredOnly) |
virtual ArrayList | ExpectedParticles (ValidationState context, bool isRequiredOnly, XmlSchemaSet schemaSet) |
Static Public Member Functions | |
static void | AddParticleToExpected (XmlSchemaParticle p, XmlSchemaSet schemaSet, ArrayList particles) |
static void | AddParticleToExpected (XmlSchemaParticle p, XmlSchemaSet schemaSet, ArrayList particles, bool global) |
Static Public Attributes | |
static readonly ContentValidator | Empty = new ContentValidator(XmlSchemaContentType.Empty) |
static readonly ContentValidator | TextOnly = new ContentValidator(XmlSchemaContentType.TextOnly, isOpen: false, isEmptiable: false) |
static readonly ContentValidator | Mixed = new ContentValidator(XmlSchemaContentType.Mixed) |
static readonly ContentValidator | Any = new ContentValidator(XmlSchemaContentType.Mixed, isOpen: true, isEmptiable: true) |
Properties | |
XmlSchemaContentType | ContentType [get] |
bool | PreserveWhitespace [get] |
virtual bool | IsEmptiable [get] |
bool | IsOpen [get, set] |
Private Member Functions | |
void | AddLeafNode (SyntaxTreeNode node) |
void | Closure (InteriorNode node) |
BitSet[] | CalculateTotalFollowposForRangeNodes (BitSet firstpos, BitSet[] followpos, out BitSet posWithRangeTerminals) |
void | CheckCMUPAWithLeafRangeNodes (BitSet curpos) |
BitSet | GetApplicableMinMaxFollowPos (BitSet curpos, BitSet posWithRangeTerminals, BitSet[] minmaxFollowPos) |
void | CheckUniqueParticleAttribution (BitSet firstpos, BitSet[] followpos) |
void | CheckUniqueParticleAttribution (BitSet curpos) |
int[][] | BuildTransitionTable (BitSet firstpos, BitSet[] followpos, int endMarkerPos) |
Private Attributes | |
SymbolsDictionary | _symbols |
Positions | _positions |
Stack< SyntaxTreeNode > | _stack |
SyntaxTreeNode | _contentNode |
bool | _isPartial |
int | _minMaxNodesCount |
readonly bool | _enableUpaCheck |
readonly XmlSchemaContentType | _contentType |
bool | _isOpen |
readonly bool | _isEmptiable |
Definition at line 6 of file ParticleContentValidator.cs.