Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102153843
PhutilLipsumContextFreeGrammar.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Feb 17, 15:55
Size
2 KB
Mime Type
text/x-php
Expires
Wed, Feb 19, 15:55 (2 d)
Engine
blob
Format
Raw Data
Handle
24294275
Attached To
rPHU libphutil
PhutilLipsumContextFreeGrammar.php
View Options
<?php
final
class
PhutilLipsumContextFreeGrammar
extends
PhutilContextFreeGrammar
{
protected
function
getRules
()
{
return
array
(
'start'
=>
array
(
'[sentence]'
,
'[sentence] [sentence]'
,
'[sentence] [sentence] [sentence]'
,
'[sentence] [sentence] [sentence] [sentence]'
,
'[sentence] [sentence] [sentence] [sentence]'
,
'[sentence] [sentence] [sentence] [sentence] [sentence]'
,
'[sentence] [sentence] [sentence] [sentence] [sentence]'
,
'[sentence] [sentence] [sentence] [sentence] [sentence] [sentence]'
,
),
'sentence'
=>
array
(
'[words].'
,
'[words].'
,
'[words].'
,
'[words]: [word], [word], [word] [word].'
,
'[words]; [lowerwords].'
,
'[words]!'
,
'[words], "[words]."'
,
'[words] ("[upperword] [upperword] [upperword]") [lowerwords].'
,
'[words]?'
,
),
'words'
=>
array
(
'[upperword] [lowerwords]'
,
),
'upperword'
=>
array
(
'Lorem'
,
'Ipsum'
,
'Dolor'
,
'Sit'
,
'Amet'
,
),
'lowerwords'
=>
array
(
'[word]'
,
'[word] [word]'
,
'[word] [word] [word]'
,
'[word] [word] [word] [word]'
,
'[word] [word] [word] [word] [word]'
,
'[word] [word] [word] [word] [word]'
,
'[word] [word] [word] [word] [word] [word]'
,
'[word] [word] [word] [word] [word] [word]'
,
),
'word'
=>
array
(
'ad'
,
'adipisicing'
,
'aliqua'
,
'aliquip'
,
'amet'
,
'anim'
,
'aute'
,
'cillum'
,
'commodo'
,
'consectetur'
,
'consequat'
,
'culpa'
,
'cupidatat'
,
'deserunt'
,
'do'
,
'dolor'
,
'dolore'
,
'duis'
,
'ea'
,
'eiusmod'
,
'elit'
,
'enim'
,
'esse'
,
'est'
,
'et'
,
'eu'
,
'ex'
,
'excepteur'
,
'exercitation'
,
'fugiat'
,
'id'
,
'in'
,
'incididunt'
,
'ipsum'
,
'irure'
,
'labore'
,
'laboris'
,
'laborum'
,
'lorem'
,
'magna'
,
'minim'
,
'mollit'
,
'nisi'
,
'non'
,
'nostrud'
,
'nulla'
,
'occaecat'
,
'officia'
,
'pariatur'
,
'proident'
,
'qui'
,
'quis'
,
'reprehenderit'
,
'sed'
,
'sint'
,
'sit'
,
'sunt'
,
'tempor'
,
'ullamco'
,
'ut'
,
'velit'
,
'veniam'
,
'voluptate'
,
),
);
}
}
Event Timeline
Log In to Comment