PHP Classes

File: docs/api/js/prettify/lang-yaml.js

Recommend this page to a friend!
  Classes of Vurghus Minar   PHP Configuration Loader   docs/api/js/prettify/lang-yaml.js   Download  
File: docs/api/js/prettify/lang-yaml.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Configuration Loader
Load configuration from YAML files into arrays
Author: By
Last change:
Date: 7 years ago
Size: 412 bytes
 

Contents

Class file image Download
var a=null; PR.registerLangHandler(PR.createSimpleLexer([["pun",/^[:>?|]+/,a,":|>?"],["dec",/^%(?:YAML|TAG)[^\n\r#]+/,a,"%"],["typ",/^&\S+/,a,"&"],["typ",/^!\S*/,a,"!"],["str",/^"(?:[^"\\]|\\.)*(?:"|$)/,a,'"'],["str",/^'(?:[^']|'')*(?:'|$)/,a,"'"],["com",/^#[^\n\r]*/,a,"#"],["pln",/^\s+/,a," \t\r\n"]],[["dec",/^(?:---|\.\.\.)(?:[\n\r]|$)/],["pun",/^-/],["kwd",/^\w+:[\n\r ]/],["pln",/^\w+/]]),["yaml","yml"]);