diff options
Diffstat (limited to 'languages/pascal/pascaltemplates')
-rw-r--r-- | languages/pascal/pascaltemplates | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/languages/pascal/pascaltemplates b/languages/pascal/pascaltemplates new file mode 100644 index 00000000..771f7cca --- /dev/null +++ b/languages/pascal/pascaltemplates @@ -0,0 +1,30 @@ +<!DOCTYPE Templates> +<Templates> + <Template code="if ( | ) then +begin +end +else +begin +end;" name="ife" description="if else" suffixes="Pascal (p,pp,pas,dpr)"/> + <Template code="while ( | ) do +begin +end;" name="whileb" description="while statement" suffixes="Pascal (p,pp,pas,dpr)"/> + <Template code="private|" name="pr" description="private" suffixes="Pascal (p,pp,pas,dpr)"/> + <Template code="public|" name="pu" description="public" suffixes="Pascal (p,pp,pas,dpr)"/> + <Template code="case ( | ) of +end;" name="caseb" description="case statement" suffixes="Pascal (p,pp,pas,dpr)"/> + <Template code="protected|" name="pro" description="protected" suffixes="Pascal (p,pp,pas,dpr)"/> + <Template code="for | := to do +begin +end;" name="forb" description="for statement" suffixes="Pascal (p,pp,pas,dpr)"/> + <Template code="|= class() +public +private +protected +end;" name="classd" description="class declaration" suffixes="Pascal (p,pp,pas,dpr)"/> + <Template code="|= record +end;" name="recordd" description="record declaration" suffixes="Pascal (p,pp,pas,dpr)"/> + <Template code="if ( | ) then +begin +end;" name="ifb" description="if statement" suffixes="Pascal (p,pp,pas,dpr)"/> +</Templates> |