nfo:SourceCode

nfo:SourceCode

Description

Code in a compilable or interpreted programming language.

Class hierarchy

    rdfs:Resource 
    ╰── nie:InformationElement 
        ╰── nfo:Document 
            ╰── nfo:TextDocument 
                ╰── nfo:PlainTextDocument 
                    ╰── nfo:SourceCode 

Properties

The “nfo:definesGlobalVariable” property

“nfo:definesGlobalVariable”          xsd:string

Name of a global variable defined within the source code file.

Number of possible elements per resource (Cardinality): 1


The “nfo:definesFunction” property

“nfo:definesFunction”          xsd:string

A name of a function/method defined in the given source code file.

Number of possible elements per resource (Cardinality): 1


The “nfo:definesClass” property

“nfo:definesClass”          xsd:string

Name of a class defined in the source code file.

Number of possible elements per resource (Cardinality): 1


The “nfo:programmingLanguage” property

“nfo:programmingLanguage”          xsd:string

Number of possible elements per resource (Cardinality): 1


The “nfo:commentCharacterCount” property

“nfo:commentCharacterCount”          xsd:integer

The amount of character in comments i.e. characters ignored by the compiler/interpreter.

Number of possible elements per resource (Cardinality): 1

See also

The upstream documentation for the NFO ontology.