NaturalDocs:: Languages:: PLSQL

NaturalDocs::Languages::PLSQL

A subclass to handle the language variations of PL/SQL.

Summary
A subclass to handle the language variations of PL/SQL.
Microsoft’s SQL specifies parameters as shown below.
Microsoft’s SQL implementation doesn’t require parenthesis.

EndOfPrototype

sub EndOfPrototype #(type,
stringRef,
falsePositives)

Microsoft’s SQL specifies parameters as shown below.

CREATE PROCEDURE Test @as int, @foo int AS ...

Having a parameter @is or @as is perfectly valid even though those words are also used to end the prototype.  Note any false positives created by this.

FormatPrototype

sub FormatPrototype #(type,
prototype)

Microsoft’s SQL implementation doesn’t require parenthesis.  Instead, parameters are specified with the @ symbol as below:

CREATE PROCEDURE Test @as int, @foo int AS ...

If the prototype doesn’t have parenthesis but does have @text, it makes sure it is still formatted correctly.

A class containing the characteristics of a particular programming language for basic support within Natural Docs.
sub EndOfPrototype #(type,
stringRef,
falsePositives)
Microsoft’s SQL specifies parameters as shown below.
sub FormatPrototype #(type,
prototype)
Microsoft’s SQL implementation doesn’t require parenthesis.