org.rococoa.cocoa.carboncore
Class TokenBlock

java.lang.Object
  extended by com.sun.jna.Structure
      extended by com.ochafik.lang.jnaerator.runtime.Structure<TokenBlock,TokenBlock.ByValue,TokenBlock.ByReference>
          extended by org.rococoa.cocoa.carboncore.TokenBlock
All Implemented Interfaces:
StructureType, StructureTypeDependent, Comparable<Structure<TokenBlock,TokenBlock.ByValue,TokenBlock.ByReference>>
Direct Known Subclasses:
TokenBlock.ByReference, TokenBlock.ByValue

public class TokenBlock
extends Structure<TokenBlock,TokenBlock.ByValue,TokenBlock.ByReference>

native declaration : /System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/CarbonCore.framework/Headers/Script.h:846
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static class TokenBlock.ByReference
           
static class TokenBlock.ByValue
           
 
Field Summary
 short decimalCode
           
 boolean doAlphanumeric
           
 boolean doAppend
           
 boolean doNest
           
 boolean doString
           
 short escapeCode
          escape symbol code
C type : ScriptTokenType
 PointerByReference itlResource
          handle to itl4 resource of current script
C type : Handle
 short[] leftComment
           
 short[] leftDelims
           
 NativeLong[] reserved
          must be zero!
 short[] rightComment
           
 short[] rightDelims
           
 Pointer source
          pointer to stream of characters
C type : Ptr
 NativeLong sourceLength
           
 NativeLong stringCount
           
 NativeLong stringLength
           
 Pointer stringList
          pointer to stream of identifiers
C type : Ptr
 NativeLong tokenCount
           
 NativeLong tokenLength
           
 Pointer tokenList
          pointer to array of tokens
C type : Ptr
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE
 
Constructor Summary
TokenBlock()
           
 
Method Summary
static TokenBlock[] newArray(int arrayLength)
           
 
Methods inherited from class com.ochafik.lang.jnaerator.runtime.Structure
byReference, byValue, castToArray, castToArray, castToArray, castToReferenceArray, castToReferenceArray, castToValueArray, castToValueArray, clone, compareTo, newArray, read, setDependency, toArray, toArray, toArray, toReferenceArray, toReferenceArray, toValueArray, toValueArray, use, use, use, use, write
 
Methods inherited from class com.sun.jna.Structure
autoRead, autoRead, autoWrite, autoWrite, clear, equals, getAutoRead, getAutoWrite, getPointer, hashCode, newInstance, readField, setAutoRead, setAutoSynch, setAutoWrite, size, toString, writeField, writeField
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ochafik.lang.jnaerator.runtime.StructureType
getPointer, size
 

Field Detail

source

public Pointer source
pointer to stream of characters
C type : Ptr


sourceLength

public NativeLong sourceLength

tokenList

public Pointer tokenList
pointer to array of tokens
C type : Ptr


tokenLength

public NativeLong tokenLength

tokenCount

public NativeLong tokenCount

stringList

public Pointer stringList
pointer to stream of identifiers
C type : Ptr


stringLength

public NativeLong stringLength

stringCount

public NativeLong stringCount

doString

public boolean doString

doAppend

public boolean doAppend

doAlphanumeric

public boolean doAlphanumeric

doNest

public boolean doNest

leftDelims

public short[] leftDelims

rightDelims

public short[] rightDelims

leftComment

public short[] leftComment

rightComment

public short[] rightComment

escapeCode

public short escapeCode
escape symbol code
C type : ScriptTokenType


decimalCode

public short decimalCode

itlResource

public PointerByReference itlResource
handle to itl4 resource of current script
C type : Handle


reserved

public NativeLong[] reserved
must be zero!
C type : long[8]

Constructor Detail

TokenBlock

public TokenBlock()
Method Detail

newArray

public static TokenBlock[] newArray(int arrayLength)


Copyright © 2009. All Rights Reserved.