Module: RSAC

Defined in:
lib/antisamy/csspool/rsac/sac.rb,
lib/antisamy/csspool/rsac/sac/token.rb,
lib/antisamy/csspool/rsac/sac/lexeme.rb,
lib/antisamy/csspool/rsac/sac/parser.rb,
lib/antisamy/csspool/rsac/stylesheet/rule.rb,
lib/antisamy/csspool/rsac/sac/lexical_unit.rb,
lib/antisamy/csspool/rsac/sac/error_handler.rb,
lib/antisamy/csspool/rsac/sac/parse_exception.rb,
lib/antisamy/csspool/rsac/sac/property_parser.rb,
lib/antisamy/csspool/rsac/sac/document_handler.rb,
lib/antisamy/csspool/rsac/sac/generated_parser.rb,
lib/antisamy/csspool/rsac/stylesheet/stylesheet.rb,
lib/antisamy/csspool/rsac/sac/selectors/selector.rb,
lib/antisamy/csspool/rsac/sac/conditions/condition.rb,
lib/antisamy/csspool/rsac/sac/conditions/id_condition.rb,
lib/antisamy/csspool/rsac/sac/selectors/child_selector.rb,
lib/antisamy/csspool/rsac/sac/generated_property_parser.rb,
lib/antisamy/csspool/rsac/sac/selectors/simple_selector.rb,
lib/antisamy/csspool/rsac/sac/conditions/class_condition.rb,
lib/antisamy/csspool/rsac/sac/selectors/element_selector.rb,
lib/antisamy/csspool/rsac/sac/selectors/sibling_selector.rb,
lib/antisamy/csspool/rsac/sac/conditions/one_of_condition.rb,
lib/antisamy/csspool/rsac/sac/selectors/descendant_selector.rb,
lib/antisamy/csspool/rsac/sac/conditions/attribute_condition.rb,
lib/antisamy/csspool/rsac/sac/selectors/conditional_selector.rb,
lib/antisamy/csspool/rsac/sac/conditions/combinator_condition.rb,
lib/antisamy/csspool/rsac/sac/conditions/begin_hyphen_condition.rb,
lib/antisamy/csspool/rsac/sac/conditions/pseudo_class_condition.rb

Defined Under Namespace

Modules: Conditions, Selectors Classes: Color, DelimiterToken, DocumentHandler, ErrorHandler, Function, GeneratedParser, GeneratedPropertyParser, Lexeme, LexicalIdent, LexicalString, LexicalURI, LexicalUnit, Number, ParseException, Parser, PropertyParser, StyleSheet, Token

Class Method Summary collapse

Class Method Details

.parse(text) ⇒ Object



8
9
10
11
12
# File 'lib/antisamy/csspool/rsac/sac.rb', line 8

def parse(text)
  parser = CSS::SAC::Parser.new
  parser.parse(text)
  parser
end