-
Notifications
You must be signed in to change notification settings - Fork 8
Parser_Options
public struct Options: OptionSetOptionSet, OptionSet
public init(rawValue: Int32)public init(rawValue: Int32)public convenience init?(string: String, baseURL url: URL? = nil, encoding: String.Encoding = .utf8, options: Parser.Options = [.suppressWarnings, .suppressErrors, .relaxed]) throwspublic convenience init?(string: String, baseURL url: URL? = nil, encoding: String.Encoding = .utf8, options: Parser.Options = [.suppressWarnings, .suppressErrors, .relaxed]) throwspublic convenience init?(string: String, options: Parser.Options = [.suppressWarnings, .suppressErrors, .relaxed]) throwspublic convenience init?(string: String, options: Parser.Options = [.suppressWarnings, .suppressErrors, .relaxed]) throwsStore big lines numbers in text PSVI field
let bigLineNumbers = Options(XML_PARSE_BIG_LINES)Compact small text nodes
let compact = Options(HTML_PARSE_COMPACT)Compact small text nodes.
let compact = Options(XML_PARSE_COMPACT)Warning: Modification of the resulting tree isn't allowed
Forbid network access
let forbidNetworkAccess = Options(XML_PARSE_NONET)Forbid network access
let forbidNetworkAccess = Options(HTML_PARSE_NONET)Ignore internal document encoding hint
let ignoreDocumentEncodingHint = Options(HTML_PARSE_IGNORE_ENC)Ignore internal document encoding hint
let ignoreEncodingHint = Options(XML_PARSE_IGNORE_ENC)Implement XInclude substituion
let implementXIncludeSubstitution = Options(XML_PARSE_XINCLUDE)Load external subset
let loadDTDExternalSubset = Options(XML_PARSE_DTDLOAD)Merge CDATA as text nodes
let mergeCDATA = Options(XML_PARSE_NOCDATA)Do not reuse the context dictionary
let noContextDictionaryReuse = Options(XML_PARSE_NODICT)Do not default a doctype if not found
let noDefaultDTD = Options(HTML_PARSE_NODEFDTD)Do not fixup XINCLUDE xml:base uris
let noXIncludeBaseURIFixup = Options(XML_PARSE_NOBASEFIX)Do not generate XINCLUDE START/END nodes
let noXIncludeDelimiterNodes = Options(XML_PARSE_NOXINCNODE)Do not add implied html/body... elements
let omitImpliedTags = Options(HTML_PARSE_NOIMPLIED)Pedantic error reporting
let pedantic = Options(XML_PARSE_PEDANTIC)Pedantic error reporting
let pedantic = Options(HTML_PARSE_PEDANTIC)var rawValue: Int32var rawValue: Int32Relax any hardcoded limit from the parser
let relaxHardcodedLimits = Options(XML_PARSE_HUGE)Relaxed parsing
let relaxed = Options(HTML_PARSE_RECOVER)Relaxed parser
let relaxed = Options(XML_PARSE_RECOVER)Remove blank nodes
let removeBlankNodes = Options(HTML_PARSE_NOBLANKS)Remove blank nodes
let removeBlankNodes = Options(XML_PARSE_NOBLANKS)Remove redundant namespaces declarations
let removeRedundantNamespaceDeclarations = Options(XML_PARSE_NSCLEAN)Substitute entities.
let substituteEntities = Options(XML_PARSE_NOENT)Suppress errors
let suppressErrors = Options(HTML_PARSE_NOERROR)Suppress errors
let suppressErrors = Options(XML_PARSE_NOERROR)Suppress warnings
let suppressWarnings = Options(XML_PARSE_NOWARNING)Suppress warnings
let suppressWarnings = Options(HTML_PARSE_NOWARNING)Use default DTD attributes
let useDefaultDTDAttributes = Options(XML_PARSE_DTDATTR)Use the SAX1 interface
let useSAX1Interface = Options(XML_PARSE_SAX1)Validate with the DTD
let validateDTD = Options(XML_PARSE_DTDVALID)Generated at 2021-10-17T13:07:40+0000 using swift-doc 1.0.0-rc.1.
Types
- CDATA
- Comment
- Context
- DOMBuilder
- Document
- Document.CloningBehavior
- Document.Properties
- DocumentFragment
- DocumentType
- Element
- Element.CloningBehavior
- Error
- Expression
- Namespace
- Namespace.Kind
- Node
- Node.SpacePreservingBehavior
- NodeSet
- Object
- Parser
- Parser.Options
- ProcessingInstruction
- StringBuilder
- Text
Protocols
Global Functions
- `var`(_:children:)
- a(_:children:)
- abbr(_:children:)
- acronym(_:children:)
- address(_:children:)
- area(_:children:)
- b(_:children:)
- base(_:children:)
- bdo(_:children:)
- big(_:children:)
- blockquote(_:children:)
- body(_:children:)
- br(_:children:)
- button(_:children:)
- caption(_:children:)
- cite(_:children:)
- code(_:children:)
- col(_:children:)
- colgroup(_:children:)
- dd(_:children:)
- del(_:children:)
- dfn(_:children:)
- div(_:children:)
- dl(_:children:)
- dt(_:children:)
- em(_:children:)
- fieldset(_:children:)
- form(_:children:)
- h1(_:children:)
- h2(_:children:)
- h3(_:children:)
- h4(_:children:)
- h5(_:children:)
- h6(_:children:)
- head(_:children:)
- hr(_:children:)
- html(_:children:)
- i(_:children:)
- img(_:children:)
- input(_:children:)
- ins(_:children:)
- kbd(_:children:)
- label(_:children:)
- legend(_:children:)
- li(_:children:)
- link(_:children:)
- map(_:children:)
- meta(_:children:)
- noscript(_:children:)
- object(_:children:)
- ol(_:children:)
- optgroup(_:children:)
- option(_:children:)
- p(_:children:)
- param(_:children:)
- pre(_:children:)
- q(_:children:)
- rb(_:children:)
- rbc(_:children:)
- rp(_:children:)
- rt(_:children:)
- rtc(_:children:)
- ruby(_:children:)
- samp(_:children:)
- script(_:children:)
- select(_:children:)
- small(_:children:)
- span(_:children:)
- strong(_:children:)
- style(_:children:)
- sub(_:children:)
- sup(_:children:)
- table(_:children:)
- tag(_:_:_:)
- tbody(_:children:)
- td(_:children:)
- textarea(_:children:)
- tfoot(_:children:)
- th(_:children:)
- thead(_:children:)
- title(_:children:)
- tr(_:children:)
- tt(_:children:)
- ul(_:children:)