Sha256: e0c207e8adeab89d1c063ccbd30281a29032c8a3d0e195dfc9223377f3b25db2

Contents?: true

Size: 671 Bytes

Versions: 7

Compression:

Stored size: 671 Bytes

Contents

Prism.languages.java = Prism.languages.extend('clike', {
	'keyword': /\b(abstract|continue|for|new|switch|assert|default|goto|package|synchronized|boolean|do|if|private|this|break|double|implements|protected|throw|byte|else|import|public|throws|case|enum|instanceof|return|transient|catch|extends|int|short|try|char|final|interface|static|void|class|finally|long|strictfp|volatile|const|float|native|super|while)\b/g,
	'number': /\b0b[01]+\b|\b0x[\da-f]*\.?[\da-fp\-]+\b|\b\d*\.?\d+[e]?[\d]*[df]\b|\W\d*\.?\d+\b/gi,
	'operator': {
		pattern: /(^|[^\.])(?:\+=|\+\+?|-=|--?|!=?|<{1,2}=?|>{1,3}=?|==?|&=|&&?|\|=|\|\|?|\?|\*=?|\/=?|%=?|\^=?|:|~)/gm,
		lookbehind: true
	}
});

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hyhyhy-1.0.0 lib/hyhyhy/structure/_includes/prism/components/prism-java.js
hyhyhy-0.0.9 lib/hyhyhy/structure/_includes/prism/components/prism-java.js
hyhyhy-0.0.8 lib/hyhyhy/structure/_includes/prism/components/prism-java.js
hyhyhy-0.0.7 lib/hyhyhy/structure/_includes/prism/components/prism-java.js
hyhyhy-0.0.6 lib/hyhyhy/structure/_includes/prism/components/prism-java.js
hyhyhy-0.0.5 lib/hyhyhy/structure/_includes/prism/components/prism-java.js
hyhyhy-0.0.4 lib/hyhyhy/structure/_includes/prism/components/prism-java.js