Java Doc for FFormatSupport.java in  » IDE-Netbeans » cnd » org » netbeans » modules » cnd » editor » fortran » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Netbeans » cnd » org.netbeans.modules.cnd.editor.fortran 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.netbeans.modules.cnd.editor.fortran.FFormatSupport

FFormatSupport
public class FFormatSupport extends ExtFormatSupport (Code)
Fortran indentation services are located here duped from editor/libsrc/org/netbeans/editor/ext/java/JavaFormatSupport.java



Constructor Summary
public  FFormatSupport(FormatWriter formatWriter)
    
public  FFormatSupport(FormatWriter formatWriter, TokenContextPath tokenContextPath)
    

Method Summary
public  booleancanModifyWhitespace(TokenItem inToken)
    
public  intfindIndent(TokenItem token)
     Find the indentation for the first token on the line.
public  intfindInlineSpacing(TokenItem token)
     Determines how many characters the token (after a fixed token) needs to be indented.
public  TokenItemfindLineStartToken(TokenItem token)
    
public  TokenItemfindMatchingToken(TokenItem token, int matchTokenID, int matchEndKeywordID)
     Find the matching token for the supplied token.
public  booleangetFreeFormat()
    
public  TokenContextPathgetTokenContextPath()
    
public  intgetTokenIndent(TokenItem token)
     Get the indentation for the given token.
public  TokenContextPathgetWhitespaceTokenContextPath()
    
public  TokenIDgetWhitespaceTokenID()
    
public  FormatTokenPositionindentLine(FormatTokenPosition pos)
    
public  booleanisComment(TokenItem token, int offset)
    
public  booleanisFixedFormatComment(TokenItem token)
     Determine if the given token is a "Fixed Format" Fortran comment.
public  booleanisFixedFormatLabel(TokenItem token)
    
public  booleanisFixedFormatLineContinuation(TokenItem token)
    
public  booleanisFreeFormatComment(TokenItem token)
     Determine if the given token is a "Free Format" Fortran comment.
public  booleanisIfThenStatement(TokenItem startToken)
     Determine if this if statement is a single line if statement or if it is a multiline if statement.
public  booleanisPreprocessor(TokenItem token)
    


Constructor Detail
FFormatSupport
public FFormatSupport(FormatWriter formatWriter)(Code)



FFormatSupport
public FFormatSupport(FormatWriter formatWriter, TokenContextPath tokenContextPath)(Code)




Method Detail
canModifyWhitespace
public boolean canModifyWhitespace(TokenItem inToken)(Code)



findIndent
public int findIndent(TokenItem token)(Code)
Find the indentation for the first token on the line. The given token is also examined in some cases.



findInlineSpacing
public int findInlineSpacing(TokenItem token)(Code)
Determines how many characters the token (after a fixed token) needs to be indented. The indentation is hence done with spaces NOT tabs.



findLineStartToken
public TokenItem findLineStartToken(TokenItem token)(Code)
Find the starting token in the line of code, given a particular token
Parameters:
  token - the starting point token token the token at the start of the line of code



findMatchingToken
public TokenItem findMatchingToken(TokenItem token, int matchTokenID, int matchEndKeywordID)(Code)
Find the matching token for the supplied token. This will always do a backward search.
Parameters:
  token - - the token that ends the block of code, ie,"endselect", "end", "enddo", etc.
Parameters:
  matchTokenID - - the token numeric ID that you are trying to match,ie, KW_SELECT_ID if you are trying to match the "select" token
Parameters:
  matchEndKeywordID - - the token numeric ID of an "end..." token,ie, KW_ENDSELECT_ID if you are trying to match the "endselect" token corresponding token that begins the block



getFreeFormat
public boolean getFreeFormat()(Code)



getTokenContextPath
public TokenContextPath getTokenContextPath()(Code)



getTokenIndent
public int getTokenIndent(TokenItem token)(Code)
Get the indentation for the given token.
Parameters:
  token - token for which the indent is being searched.The token itself is ignored and the previous tokenis used as a base for the search.



getWhitespaceTokenContextPath
public TokenContextPath getWhitespaceTokenContextPath()(Code)



getWhitespaceTokenID
public TokenID getWhitespaceTokenID()(Code)



indentLine
public FormatTokenPosition indentLine(FormatTokenPosition pos)(Code)



isComment
public boolean isComment(TokenItem token, int offset)(Code)



isFixedFormatComment
public boolean isFixedFormatComment(TokenItem token)(Code)
Determine if the given token is a "Fixed Format" Fortran comment.



isFixedFormatLabel
public boolean isFixedFormatLabel(TokenItem token)(Code)



isFixedFormatLineContinuation
public boolean isFixedFormatLineContinuation(TokenItem token)(Code)



isFreeFormatComment
public boolean isFreeFormatComment(TokenItem token)(Code)
Determine if the given token is a "Free Format" Fortran comment.



isIfThenStatement
public boolean isIfThenStatement(TokenItem startToken)(Code)
Determine if this if statement is a single line if statement or if it is a multiline if statement. A multiline if statement will always end with the "then" keyword.
Parameters:
  startToken - the starting token for this line of code true if this is a multiline if statement.



isPreprocessor
public boolean isPreprocessor(TokenItem token)(Code)



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.