Syntax Expansion Tables
This page is incomplete.
- This page addresses stuff that one might need in order to quickly get the job done with Funcdown.
- The following TWO tables reflect how to easily expand, either tag or attribute within tag by using CAPITAL (one or two at most) letter(s).
- Tag Expansion
-
Expanding tags with a
Char
orTwo
Association String Mode Hashmap Mode *
for
DOCTYPE_DECLARATION
* { 5 | X }
[ '*' => 5 | '5' | 'X' ]
!
for
Html Comment
! { Html Comment }
[ '!' => 'Html Comment' ]
~
for
TextNode
~ { TextNode }
[ '~' => 'TextNode' ]
R
for
<html>
R [ !{+ more_tags} ]
[ 'R' => [ '!' => '+ more_tags' ]]
H
for
<head>
H [ !{+ more_tags} ]
[ 'H' => [ '!' => '+ more_tags' ]]
M
for
<meta>
M (attr val)|
[ 'M@attr val' => null ]
T
for
<title>
T { TextNode }
[ 'T' => 'TextNode' ]
L
for
<link>
L (attr val)|
[ 'L@attr val' => null ]
J
for
<script>
J {:>>> console.log (window) <<<:}
[ 'J' => 'console.log (window)' ]
B
for
<body>
B [ !{+ more_tags} ]
[ 'B' => [ '!' => '+ more_tags' ]]
D
for
<div>
D { TextNode }
[ 'D' => 'TextNode' ]
N
for
<nav>
N { TextNode }
[ 'N' => 'TextNode' ]
P
for
<pre>
P { TextNode }
[ 'P' => 'TextNode' ]
C
for
<code>
C { TextNode }
[ 'C' => 'TextNode' ]
F
for
<form>
F [ !{+ more_tags} ]
[ 'F' => [ '!' => '+ more_tags' ]]
I
for
<input>
I (attr val)|
[ 'I@attr val' => null ]
A
for
<article>
A { TextNode }
[ 'A' => 'TextNode' ]
S
for
<section>
S { TextNode }
[ 'S' => 'TextNode' ]
AS
for
<aside>
AS { TextNode }
[ 'AS' => 'TextNode' ]
HD
for
<header>
HD { TextNode }
[ 'HD' => 'TextNode' ]
FT
for
<footer>
FT { TextNode }
[ 'FT' => 'TextNode' ]
BT
for
<button>
BT { TextNode }
[ 'BT' => 'TextNode' ]
LL
for
<label>
LL { TextNode }
[ 'LL' => 'TextNode' ]
TT
for
<textarea>
TT { TextNode }
[ 'TT' => 'TextNode' ]
- Attribute Expansion
-
Expanding attributes with letter or char
Association String Mode Hashmap Mode #
for
id="..."
tagname (# ...) { Text }
[ ':tagname@# ...' => 'Text' ]
%
for
href="..."
tagname (% ...) { Text }
[ ':tagname@% ...' => 'Text' ]
.
for
class="..."
tagname (. ...) { Text }
[ ':tagname@. ...' => 'Text' ]
!
for
title="..."
tagname (! ...) { Text }
[ ':tagname@! ...' => 'Text' ]
@
for
content="..."
tagname (@ ...) { Text }
[ ':tagname@@ ...' => 'Text' ]
A
for
alt="..."
tagname (A ...) { Text }
[ ':tagname@A ...' => 'Text' ]
S
for
src="..."
tagname (S ...) { Text }
[ ':tagname@S ...' => 'Text' ]
F
for
form="..."
tagname (F ...) { Text }
[ ':tagname@F ...' => 'Text' ]
T
for
type="..."
tagname (T ...) { Text }
[ ':tagname@T ...' => 'Text' ]
N
for
name="..."
tagname (N ...) { Text }
[ ':tagname@N ...' => 'Text' ]
V
for
value="..."
tagname (V ...) { Text }
[ ':tagname@V ...' => 'Text' ]
C
for
style="..."
tagname (C ...) { Text }
[ ':tagname@C ...' => 'Text' ]
H
for
hidden="..."
tagname (H ...) { Text }
[ ':tagname@H ...' => 'Text' ]
R
for
readonly="..."
tagname (R ...) { Text }
[ ':tagname@R ...' => 'Text' ]
E
for
contenteditable="..."
tagname (E ...) { Text }
[ ':tagname@E ...' => 'Text' ]