@vivliostyle/core
    Preparing search index...

    Class Parser

    Index

    Constructors

    Properties

    actions: Action[]
    baseURL: string
    defaultNamespaceURI: string = null
    errorBrackets: number[] = []
    exprContext: ExprContext
    handler: ParserHandler
    importCondition: Expr = null
    importHasLayer: boolean = false
    importLayerNames: string[] = null
    importReady: boolean = false
    importURL: string = null
    inStyleDeclaration: boolean = false
    namespacePrefixToURI: { [key: string]: string } = {}
    pageRule: boolean = false
    propImportant: boolean = false
    propName: string = null
    regionRule: boolean = false
    result: Val = null
    ruleStack: string[] = []
    tokenizer: Tokenizer
    valStack: any[] = []

    Methods

    • Raw source text of the argument of a functional pseudo-class or pseudo-element, from funcPosition (the position of its name) to the closing parenthesis the tokenizer is left on by skipPseudoFunctionContents.

      Parameters

      • funcPosition: number

      Returns string

    • Reads a <layer-name> (<ident> [ '.' <ident> ]*) at the current position and returns its parts, or null if there is none.

      Returns string[]

    • Parameters

      • count: number
      • parsingValue: boolean
      • parsingStyleAttr: boolean
      • parsingMediaQuery: boolean
      • parsingFunctionParam: boolean
      • OptionalparsingRelationalSelector: boolean

      Returns boolean