wiki:AST Schema

Version 7 (modified by stachnik, 14 years ago) ( diff )

--

  • Example XML File
    <?xml version="1.0" standalone="yes"?>
    <scroot:rootNode xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://vsl.cis.udel.edu/ns/tass/tass_ast
                                  tass_ast.xsd"
              xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:scroot="http://vsl.cis.udel.edu/ns/tass/tass_ast">
      <id_RootNode>1</id_RootNode>
      <fdn_mainFunction>4</fdn_mainFunction>
      <globalScopeNodes>
        <id_GlobalScopeNodes>2</id_GlobalScopeNodes>
        <child>
          <id_FunctionDeclarationNode>4</id_FunctionDeclarationNode>
          <identifier>
            <id_IdentifierNode>5</id_IdentifierNode>
            <name>test</name>
          </identifier>
          <outputType>
            <id_TypeNode>6</id_TypeNode>
          </outputType>
          <formals>
            <id_FormalVariableDeclarationNodes>7</id_FormalVariableDeclarationNodes>
          </formals>
        </child>
      </globalScopeNodes>
      
    </scroot:rootNode>
    
Note: See TracWiki for help on using the wiki.